fix App crashes when jump-to has group chat card (#16431)

This commit is contained in:
Parvesh Monu 2023-06-29 18:10:58 +05:30 committed by GitHub
parent d9f7510d13
commit 5d0aa6a2f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -154,7 +154,7 @@
[(re-frame/subscribe [:chats/chat id]) [(re-frame/subscribe [:chats/chat id])
(re-frame/subscribe [:communities]) (re-frame/subscribe [:communities])
(re-frame/subscribe [:contacts/contacts]) (re-frame/subscribe [:contacts/contacts])
(re-frame/subscribe [:multiaccount])]) (re-frame/subscribe [:profile/profile])])
(fn [[chat communities contacts current-multiaccount] [_ id]] (fn [[chat communities contacts current-multiaccount] [_ id]]
(let [from (get-in chat [:last-message :from]) (let [from (get-in chat [:last-message :from])
contact (when from (multiaccounts/contact-by-identity contacts from)) contact (when from (multiaccounts/contact-by-identity contacts from))