Add display name/ens to activity center
This commit is contained in:
parent
172bf66436
commit
58013db24c
|
@ -2,5 +2,10 @@
|
|||
|
||||
(defn contact-name
|
||||
[contact]
|
||||
(or (get-in contact [:names :nickname])
|
||||
(get-in contact [:names :three-words-name])))
|
||||
(->> [(get-in contact [:names :nickname])
|
||||
(get-in contact [:names :ens-name])
|
||||
(get-in contact [:names :display-name])
|
||||
(get-in contact [:names :three-words-name])]
|
||||
|
||||
(filter seq)
|
||||
first))
|
||||
|
|
Loading…
Reference in New Issue