Fix Redux update on conversation trigger

This commit is contained in:
Fedor Indutny 2021-12-01 00:16:13 +01:00 committed by GitHub
parent 518ebc315e
commit 951796a389
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -1047,6 +1047,8 @@ export async function startApp(): Promise<void> {
convoCollection.on('remove', conversation => {
const { id } = conversation || {};
conversation.trigger('unload', 'removed');
conversationRemoved(id);
});
convoCollection.on('add', conversation => {