Skip to content

Commit

Permalink
Fix community channel ens names are not resolved (status-im#13675)
Browse files Browse the repository at this point in the history
  • Loading branch information
Parveshdhull authored Jul 19, 2022
1 parent 7d8a6b4 commit a07bc82
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/status_im/chat/models/mentions.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -244,8 +244,10 @@
contact.db/enrich-contact)))

(= chat-type constants/community-chat-type)
(merge mentionable-users
(mentionable-contacts-from-identites all-contacts public-key (keys community-members)))
(mentionable-contacts-from-identites
all-contacts
public-key
(distinct (concat (keys community-members) (keys mentionable-users))))

(= chat-type constants/public-chat-type)
(merge mentionable-users (select-keys mentionable-contacts (keys mentionable-users)))
Expand Down

0 comments on commit a07bc82

Please sign in to comment.