Fix community channel ens names are not resolved (#13675)

This commit is contained in:
Parvesh Monu 2022-07-19 19:13:41 +05:30 committed by GitHub
parent 7d8a6b42e4
commit a07bc82c37
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

View File

@ -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)))