diff --git a/src/app/modules/main/profile_section/contacts/module.nim b/src/app/modules/main/profile_section/contacts/module.nim index 546c5a27dc..24603541a3 100644 --- a/src/app/modules/main/profile_section/contacts/module.nim +++ b/src/app/modules/main/profile_section/contacts/module.nim @@ -157,7 +157,7 @@ method removeContact*(self: Module, publicKey: string) = method changeContactNickname*(self: Module, publicKey: string, nickname: string) = self.controller.changeContactNickname(publicKey, nickname) -proc addOrUpdateContactItem*(self: Module, publicKey: string) = +method addOrUpdateContactItem*(self: Module, publicKey: string) = let ind = self.view.contactsModel().findIndexByPubKey(publicKey) let item = self.createItemFromPublicKey(publicKey) if ind == -1: