From 70b95a3a4d4c6af2d99fb3bbbb13833e3bad60ff Mon Sep 17 00:00:00 2001 From: Roman Volosovskyi Date: Wed, 1 May 2019 10:47:46 +0300 Subject: [PATCH] [#8072] Fix crash on deleting group chat --- src/status_im/ui/screens/profile/group_chat/views.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/status_im/ui/screens/profile/group_chat/views.cljs b/src/status_im/ui/screens/profile/group_chat/views.cljs index bd449838db..ef2e102a5e 100644 --- a/src/status_im/ui/screens/profile/group_chat/views.cljs +++ b/src/status_im/ui/screens/profile/group_chat/views.cljs @@ -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