mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
Fix chat history bug in other workers
This commit is contained in:
parent
d924cee747
commit
63cb8e8f66
@ -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;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user