Updated codes be more compacted. Fixes #1826
This commit is contained in:
parent
972cf9f138
commit
03353af634
|
@ -69,7 +69,6 @@ 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 = ""
|
||||
|
||||
QtProperty[string] nickname:
|
||||
|
|
Loading…
Reference in New Issue