update call to get contacts api

This commit is contained in:
Iuri Matias 2021-09-20 12:42:10 -04:00
parent 2515f12c3b
commit 9204d495c6
1 changed files with 1 additions and 1 deletions

View File

@ -120,7 +120,7 @@ QtObject:
for mention in pubKeyMentions: for mention in pubKeyMentions:
let pubKey = mention.replace("@","") let pubKey = mention.replace("@","")
let userNameAlias = mention(pubKey, self.status.chat.contacts) let userNameAlias = mention(pubKey, self.status.chat.getContacts())
if userNameAlias != "": if userNameAlias != "":
updatedMessage = updatedMessage.replace(mention, '@' & userNameAlias) updatedMessage = updatedMessage.replace(mention, '@' & userNameAlias)