From 63cb8e8f66fb0f1c6e513ef022f38e4c9e06fbeb Mon Sep 17 00:00:00 2001 From: ClemDee Date: Fri, 7 Jun 2019 16:04:52 +0200 Subject: [PATCH] Fix chat history bug in other workers --- www/common/common-messenger.js | 1 + 1 file changed, 1 insertion(+) diff --git a/www/common/common-messenger.js b/www/common/common-messenger.js index 5330281ae..814a050ed 100644 --- a/www/common/common-messenger.js +++ b/www/common/common-messenger.js @@ -520,6 +520,7 @@ define([ // History cleared while we're in the channel if (parsed.error === 'ECLEARED') { setChannelHead(parsed.channel, '', function () {}); + channels[parsed.channel].messages = []; emit('CLEAR_CHANNEL', parsed.channel); return; }