mirror of
https://github.com/status-im/status-react.git
synced 2025-01-11 19:44:47 +00:00
[#8072] Fix crash on deleting group chat
This commit is contained in:
parent
a8bfa12da2
commit
70b95a3a4d
@ -97,7 +97,7 @@
|
|||||||
current-pk [:account/public-key]]
|
current-pk [:account/public-key]]
|
||||||
(when current-chat
|
(when current-chat
|
||||||
(let [shown-chat (merge current-chat changed-chat)
|
(let [shown-chat (merge current-chat changed-chat)
|
||||||
admin? (admins current-pk)
|
admin? (get admins current-pk)
|
||||||
allow-adding-members? (and admin?
|
allow-adding-members? (and admin?
|
||||||
(< (count members) constants/max-group-chat-participants))]
|
(< (count members) constants/max-group-chat-participants))]
|
||||||
[react/view profile.components.styles/profile
|
[react/view profile.components.styles/profile
|
||||||
|
Loading…
x
Reference in New Issue
Block a user