mirror of
https://github.com/status-im/status-desktop.git
synced 2025-02-19 18:18:38 +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.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():
|
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
|
return self.status.chat.contacts[self.chatItem.id].localNickname
|
||||||
else:
|
result = ""
|
||||||
result = ""
|
|
||||||
|
|
||||||
QtProperty[string] nickname:
|
QtProperty[string] nickname:
|
||||||
read = nickname
|
read = nickname
|
||||||
|
Loading…
x
Reference in New Issue
Block a user