Fix the get_nick issue correctly this time.
This commit is contained in:
parent
4ee3566a74
commit
2a3434b1f8
1 changed files with 1 additions and 1 deletions
|
@ -2502,7 +2502,7 @@ class ConversationTab(ChatTab):
|
|||
jid = JID(self.name)
|
||||
contact = roster.get_contact_by_jid(jid.bare)
|
||||
if contact:
|
||||
return contact.name
|
||||
return contact.name or jid.user
|
||||
else:
|
||||
return jid.user
|
||||
|
||||
|
|
Loading…
Reference in a new issue