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

Correct identicon in a group chat (#249)

Former-commit-id: 435cf994d7
This commit is contained in:
Roman Volosovskyi 2016-09-22 17:43:34 +03:00 committed by GitHub
commit 36438c7117
1 changed files with 3 additions and 3 deletions

View File

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