correct identicon in the group chat (#249)

This commit is contained in:
alwxndr 2016-09-22 10:46:10 +03:00
parent 5fb6a19d0a
commit 0912b61f70
1 changed files with 3 additions and 3 deletions

View File

@ -195,9 +195,9 @@
(defview member-photo [from]
[photo-path [:photo-path from]]
[view st/photo-view
[image {:source (if (s/blank? photo-path)
res/user-no-photo
{:uri photo-path})
[image {:source {:uri (if (s/blank? photo-path)
(identicon from)
photo-path)}
:style st/photo}]])
(defn incoming-group-message-body