Merge pull request #11691 from Tainan404/issue-11618
Fix messages being not cleared
This commit is contained in:
commit
800c10eb1c
@ -96,6 +96,7 @@ const Adapter = () => {
|
||||
}
|
||||
}
|
||||
if (msg.data.indexOf('{"msg":"removed","collection":"group-chat-msg"') != -1) {
|
||||
messageQueue = [];
|
||||
dispatch({
|
||||
type: ACTIONS.REMOVED,
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user