Allow non-admin users to see participants profiles in group chat settings (#3934)

Signed-off-by: Goran Jovic <goranjovic@gmail.com>
This commit is contained in:
psdp 2018-04-20 21:32:51 +08:00 committed by Goran Jovic
parent ef0024c5dc
commit 3cbe3dc103
No known key found for this signature in database
GPG Key ID: D429D1A9B2EB8A8E
1 changed files with 2 additions and 1 deletions

View File

@ -79,7 +79,8 @@
:extend-title (:name contact)
:extended? admin?
:accessibility-label :member-item
:inner-props {:accessibility-label :member-name-text}}]])
:inner-props {:accessibility-label :member-name-text}
:on-press #(re-frame/dispatch [:show-profile (:whisper-identity contact)])}]])
(defview chat-group-contacts-view [admin?]
(letsubs [contacts [:get-current-chat-contacts]]