Delete validateKey in the messenger memory when we leave the channel

pull/1/head
yflory 2018-12-11 10:52:11 +01:00
parent d88dee9a83
commit a121df2600
1 changed files with 1 additions and 0 deletions

View File

@ -959,6 +959,7 @@ define([
messenger.leavePad = function (padChan) {
// Leave chat and prevent reconnect when we leave a pad
delete validateKeys[padchan];
Object.keys(channels).some(function (chatChan) {
var channel = channels[chatChan];
if (channel.padChan !== padChan) { return; }