Fix userlist and chat after reconnection in a shared worker

This commit is contained in:
yflory
2019-04-16 12:09:39 +02:00
parent 652583eec1
commit 9b9cedd191
5 changed files with 21 additions and 6 deletions

View File

@@ -965,6 +965,7 @@ define([
if (channel.padChan !== padChan) { return; }
if (channel.wc) { channel.wc.leave(); }
channel.stopped = true;
delete channels[chatChan];
return true;
});
};