-
Notifications
You must be signed in to change notification settings - Fork 10.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Notifying the client when we remove a message from a thread
Now, everytime a message has a tmid(is a thread), and it gets deleted, we decrease the replyCount of the parent message then remove the unread thread unread, to make sure all the subscriptions are up to date (and notify to the client) At the end, we check if the parent message had all of its thread messages deleted, if so, we notify the change in the parent message itself
- Loading branch information
Showing
1 changed file
with
23 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters