fix app is not opened on the last viewed chat after reopening (#18090)

This commit is contained in:
Parvesh Monu 2023-12-07 17:44:13 +05:30 committed by GitHub
parent 536ebf56cb
commit 9cf4556b9d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@
accounts tokens custom-tokens favourites]))] accounts tokens custom-tokens favourites]))]
:check-eip1559-activation {:network-id network-id}} :check-eip1559-activation {:network-id network-id}}
(not (:universal-links/handling db)) (not (:universal-links/handling db))
(assoc :chat/open-last-chat (get-in db [:profile/profile :key-uid])) (assoc :effects.chat/open-last-chat (get-in db [:profile/profile :key-uid]))
notifications-enabled? notifications-enabled?
(assoc :effects/push-notifications-enable nil)) (assoc :effects/push-notifications-enable nil))
(contacts/initialize-contacts) (contacts/initialize-contacts)