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…
Reference in New Issue