put in missing param

This commit is contained in:
Phillip 2023-01-29 23:12:25 +02:00
parent d5fee68489
commit 9ca90ef963

View File

@ -2366,7 +2366,7 @@ class ChatPage extends LitElement {
}
// Closed Event
this.webSocket.onclose = () => {
this.webSocket.onclose = (e) => {
clearTimeout(groupSocketTimeout)
if(e.reason === 'switch chat') return
restartGroupWebSocket()