Fix unread indicator in activity center when delete message

Signed-off-by: Brian Sztamfater <brian@status.im>
This commit is contained in:
Brian Sztamfater 2021-08-26 16:27:57 -03:00
parent 4de24442eb
commit 112c5fde15
No known key found for this signature in database
GPG Key ID: 59EB921E0706B48F
1 changed files with 2 additions and 1 deletions

View File

@ -209,7 +209,8 @@
{:db (reduce (fn [acc current]
(update-in acc [:messages (:chatId current)] dissoc (:messageId current)))
db removed-messages)
:dispatch [:get-activity-center-notifications]})]
:dispatch-n [[:get-activity-center-notifications]
[:get-activity-center-notifications-count]]})]
(apply fx/merge cofx (conj mark-as-seen-fx remove-messages-fx))))
(comment