Merge pull request #257 from status-im/bug/#249
Correct identicon in a group chat (#249)
This commit is contained in:
commit
435cf994d7
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue