Remove messageCollection from Conversation model
This commit is contained in:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user