Updated codes be more compacted. Fixes #1826

This commit is contained in:
ace-smart 2021-02-11 19:02:19 +04:00 committed by Jonathan Rainville
parent 972cf9f138
commit 03353af634
1 changed files with 1 additions and 2 deletions

View File

@ -69,8 +69,7 @@ QtObject:
if self.chatItem != nil and self.chatItem.chatType.isOneToOne:
if self.status.chat.contacts.hasKey(self.chatItem.id) and self.status.chat.contacts[self.chatItem.id].hasNickname():
return self.status.chat.contacts[self.chatItem.id].localNickname
else:
result = ""
result = ""
QtProperty[string] nickname:
read = nickname