mirror of
https://github.com/status-im/status-mobile.git
synced 2025-02-28 08:10:42 +00:00
Fix unread indicator in activity center when delete message
Signed-off-by: Brian Sztamfater <brian@status.im>
This commit is contained in:
parent
4de24442eb
commit
112c5fde15
@ -209,7 +209,8 @@
|
|||||||
{:db (reduce (fn [acc current]
|
{:db (reduce (fn [acc current]
|
||||||
(update-in acc [:messages (:chatId current)] dissoc (:messageId current)))
|
(update-in acc [:messages (:chatId current)] dissoc (:messageId current)))
|
||||||
db removed-messages)
|
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))))
|
(apply fx/merge cofx (conj mark-as-seen-fx remove-messages-fx))))
|
||||||
|
|
||||||
(comment
|
(comment
|
||||||
|
Loading…
x
Reference in New Issue
Block a user