[#6850] fix Add to contacts appears in public chat

This commit is contained in:
Roman Volosovskyi 2019-02-11 09:43:19 +02:00 committed by yenda
parent c0f5bd14de
commit 0cdc56401a
No known key found for this signature in database
GPG Key ID: 0095623C0069DCE6
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@
:accessibility-label :chat-menu-button}
:handler #(on-options chat-id name group-chat public?)}]])]
[connectivity/connectivity-view]
(when-not (or public? group-chat)
(when (and (not group-chat) (first contacts))
[add-contact-bar (first contacts)])]))
(defmulti message-row (fn [{{:keys [type]} :row}] type))