mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-17 00:56:39 +00:00
Updated codes be more compacted. Fixes #1826
This commit is contained in:
parent
972cf9f138
commit
03353af634
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user