[#8072] Fix crash on deleting group chat

This commit is contained in:
Roman Volosovskyi 2019-05-01 10:47:46 +03:00
parent a8bfa12da2
commit 70b95a3a4d
No known key found for this signature in database
GPG Key ID: 0238A4B5ECEE70DE
1 changed files with 1 additions and 1 deletions

View File

@ -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