summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/tabs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tabs.py b/src/tabs.py
index f8923304..4b39ccc8 100644
--- a/src/tabs.py
+++ b/src/tabs.py
@@ -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