[bug] fix #1379 change "Unknown contact" message to "Anonymous contact"

Signed-off-by: Oskar Thoren <ot@oskarthoren.com>
This commit is contained in:
m'hammed 2017-11-17 05:50:11 +01:00 committed by Oskar Thoren
parent bb69995aa4
commit 01d993c32e
No known key found for this signature in database
GPG Key ID: 5128AB0637CD85AF
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@
incoming-name [:contact-name-by-identity from]] incoming-name [:contact-name-by-identity from]]
(when-let [name (if outgoing (when-let [name (if outgoing
(:name current-account) (:name current-account)
(or incoming-name "Unknown contact"))] (or incoming-name (gfycat/generate-gfy from)))]
[react/text {:style style/author} name]))) [react/text {:style style/author} name])))
(defview message-content-status [] (defview message-content-status []