correct identicon in the group chat (#249)

Former-commit-id: 0912b61f70c0430483ffa6ba1026b26396481469
This commit is contained in:
alwxndr 2016-09-22 10:46:10 +03:00
parent 23dfab5c3a
commit f2ef336374

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