diff --git a/src/app_service/service/contacts/service.nim b/src/app_service/service/contacts/service.nim index 568703da63..4c32255bac 100644 --- a/src/app_service/service/contacts/service.nim +++ b/src/app_service/service/contacts/service.nim @@ -121,7 +121,12 @@ QtObject: contact.blocked = false self.saveContact(contact) - status_contacts.addContact(contact.id, contact.name) + + var ensName = "" + if contact.name.endsWith(".eth"): + ensName = contact.name + + status_contacts.addContact(contact.id, ensName) self.events.emit(SIGNAL_CONTACT_ADDED, ContactAddedArgs(contact: contact)) proc rejectContactRequest*(self: Service, publicKey: string) =