diff --git a/src/status_im/group_chats/core.cljs b/src/status_im/group_chats/core.cljs index 423a50948c..f921a84b69 100644 --- a/src/status_im/group_chats/core.cljs +++ b/src/status_im/group_chats/core.cljs @@ -60,7 +60,8 @@ (fx/defn create-from-link [cofx {:keys [chat-id invitation-admin chat-name]}] (if (get-in cofx [:db :chats chat-id :is-active]) - (models.chat/navigate-to-chat cofx chat-id false) + {:dispatch-n [[:accept-all-activity-center-notifications-from-chat chat-id] + [:chat.ui/navigate-to-chat chat-id false]]} {::json-rpc/call [{:method (json-rpc/call-ext-method "createGroupChatFromInvitation") :params [chat-name chat-id invitation-admin] :js-response true diff --git a/src/status_im/utils/universal_links/core.cljs b/src/status_im/utils/universal_links/core.cljs index a159c26eaa..6d3ee9535d 100644 --- a/src/status_im/utils/universal_links/core.cljs +++ b/src/status_im/utils/universal_links/core.cljs @@ -71,7 +71,8 @@ (fx/defn handle-community-chat [cofx {:keys [chat-id]}] (log/info "universal-links: handling community chat" chat-id) - (chat/navigate-to-chat cofx chat-id true)) + {:dispatch-n [[:accept-all-activity-center-notifications-from-chat chat-id] + [:chat.ui/navigate-to-chat chat-id true]]}) (fx/defn handle-public-chat [cofx {:keys [topic]}] (log/info "universal-links: handling public chat" topic)