diff --git a/src/app/chat/views/messages.nim b/src/app/chat/views/messages.nim index c358e80b9c..28ce9d3369 100644 --- a/src/app/chat/views/messages.nim +++ b/src/app/chat/views/messages.nim @@ -120,7 +120,7 @@ QtObject: for mention in pubKeyMentions: let pubKey = mention.replace("@","") - let userNameAlias = mention(pubKey, self.status.chat.contacts) + let userNameAlias = mention(pubKey, self.status.chat.getContacts()) if userNameAlias != "": updatedMessage = updatedMessage.replace(mention, '@' & userNameAlias)