mirror of
https://github.com/status-im/status-react.git
synced 2025-01-23 17:29:08 +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]]
|
||||
(when current-chat
|
||||
(let [shown-chat (merge current-chat changed-chat)
|
||||
admin? (admins current-pk)
|
||||
admin? (get admins current-pk)
|
||||
allow-adding-members? (and admin?
|
||||
(< (count members) constants/max-group-chat-participants))]
|
||||
[react/view profile.components.styles/profile
|
||||
|
Loading…
x
Reference in New Issue
Block a user