mirror of
https://github.com/status-im/status-react.git
synced 2025-02-02 14:14:39 +00:00
Fix error replies activity center while not implemented
Signed-off-by: Shivek Khurana <shivek@status.im>
This commit is contained in:
parent
dd4c5f778e
commit
b0457f594b
@ -1753,7 +1753,11 @@
|
||||
:activity.center/notifications-grouped-by-date
|
||||
:<- [:activity.center/notifications]
|
||||
(fn [{:keys [notifications]}]
|
||||
(group-notifications-by-date (map #(assoc % :timestamp (or (:timestamp %) (:timestamp (or (:message %) (:last-message %))))) notifications))))
|
||||
(let [supported-notifications (filter (fn [{:keys [type]}]
|
||||
(or (= constants/activity-center-notification-type-mention type)
|
||||
(= constants/activity-center-notification-type-one-to-one-chat type)
|
||||
(= constants/activity-center-notification-type-private-group-chat type))) notifications)]
|
||||
(group-notifications-by-date (map #(assoc % :timestamp (or (:timestamp %) (:timestamp (or (:message %) (:last-message %))))) supported-notifications)))))
|
||||
|
||||
;;WALLET TRANSACTIONS ==================================================================================================
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user