fix App crashes when jump-to has group chat card (#16431)
This commit is contained in:
parent
d9f7510d13
commit
5d0aa6a2f7
|
@ -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))
|
||||||
|
|
Loading…
Reference in New Issue