fix method

This commit is contained in:
Jonathan Rainville 2024-11-22 11:00:12 -05:00
parent e83a43d075
commit dc53713959
1 changed files with 1 additions and 1 deletions

View File

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