Fixed the channel reconnect

master
WolverinDEV 2021-05-05 17:35:23 +02:00
parent f5e880b1f1
commit b7b4c51904
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ export class HandshakeHandler {
client_version: "TeaWeb " + __build.version + " (" + navigator.userAgent + ")",
client_version_sign: undefined,
client_default_channel: this.parameters.defaultChannel || "",
client_default_channel: typeof this.parameters.defaultChannel === "number" ? "/" + this.parameters.defaultChannel : this.parameters.defaultChannel || "",
client_default_channel_password: this.parameters.defaultChannelPassword || "",
client_default_token: this.parameters.token,