refactor(contact-service): `ContactsDto` is `object` type instead `ref object`
This commit is contained in:
parent
3f50ab26b8
commit
ab38614b08
|
@ -52,7 +52,4 @@ method getChatById*(self: Service, chatId: string): ChatDto =
|
|||
|
||||
method prettyChatName*(self: Service, chatId: string): string =
|
||||
let contact = self.contactService.getContactById(chatId)
|
||||
if(contact.isNil):
|
||||
return
|
||||
|
||||
return contact.userNameOrAlias()
|
Loading…
Reference in New Issue