mirror of
https://github.com/EchoSixHIYA/WebSpeak-client-for-TeamSpeak.git
synced 2026-12-03 12:02:50 +08:00
feat: support TeamSpeak server nickname connections
This commit is contained in:
1 parent
35dde81cc2
commit
60d3cfd569
21 files changed
+644
-87
No files matched your search
@@ -1063,7 +1063,9 @@ function initialServerTarget() {
|
||||
if (explicit?.trim()) return splitTeamSpeakTarget(explicit);
|
||||
const host = (query.get("tsHost") ?? location.hostname).trim();
|
||||
const port = (query.get("tsPort") ?? DEFAULT_TEAM_SPEAK_PORT).trim();
|
||||
return splitTeamSpeakTarget(host, port || DEFAULT_TEAM_SPEAK_PORT);
|
||||
const target = splitTeamSpeakTarget(host, port || DEFAULT_TEAM_SPEAK_PORT);
|
||||
if (query.has("tsPort")) target.port = port;
|
||||
return target;
|
||||
}
|
||||
|
||||
function persistLanguage() {
|
||||
|
||||
Reference in new issue
Block a user