Remove messageCollection from Conversation model

This commit is contained in:
Scott Nonnenberg 2021-06-15 17:44:14 -07:00 committed by GitHub
parent 61ad1231df
commit 1520c80013
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
19 changed files with 332 additions and 431 deletions

View file

@ -41,7 +41,9 @@
const conversation = message.getConversation();
if (conversation) {
conversation.trigger('expired', message);
// An expired message only counts as decrementing the message count, not
// the sent message count
conversation.decrementMessageCount();
}
});
} catch (error) {