Skip to content
Snippets Groups Projects
Unverified Commit 800c10eb authored by Anton Georgiev's avatar Anton Georgiev Committed by GitHub
Browse files

Merge pull request #11691 from Tainan404/issue-11618

Fix messages being not cleared
parents 051fe9cc 2271d4fe
No related branches found
No related tags found
No related merge requests found
......@@ -96,6 +96,7 @@ const Adapter = () => {
}
}
if (msg.data.indexOf('{"msg":"removed","collection":"group-chat-msg"') != -1) {
messageQueue = [];
dispatch({
type: ACTIONS.REMOVED,
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment