Fix management of selectedMessage in redux

This commit is contained in:
Fedor Indutny 2022-06-23 09:12:17 -07:00 committed by GitHub
parent 6ad091bfe3
commit 6b231346d9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 15 additions and 15 deletions

View file

@ -1370,10 +1370,6 @@ export class ConversationModel extends window.Backbone
this.debouncedUpdateLastMessage!();
}
addIncomingMessage(message: MessageModel): void {
this.addSingleMessage(message);
}
// New messages might arrive while we're in the middle of a bulk fetch from the
// database. We'll wait until that is done before moving forward.
async addSingleMessage(