Merge pull request #257 from status-im/bug/#249

Correct identicon in a group chat (#249)
This commit is contained in:
Roman Volosovskyi 2016-09-22 17:43:34 +03:00 committed by GitHub
commit 435cf994d7
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