refactor(contact-service): `ContactsDto` is `object` type instead `ref object`

This commit is contained in:
Sale Djenic 2021-11-10 16:09:34 +01:00
parent 3f50ab26b8
commit ab38614b08
1 changed files with 0 additions and 3 deletions

View File

@ -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()