summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--poezio/tabs/conversationtab.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/poezio/tabs/conversationtab.py b/poezio/tabs/conversationtab.py
index 5b225c61..f8490233 100644
--- a/poezio/tabs/conversationtab.py
+++ b/poezio/tabs/conversationtab.py
@@ -304,7 +304,7 @@ class ConversationTab(OneToOneTab):
def get_nick(self):
contact = roster[self.jid.bare]
if contact:
- return contact.name or jid.user
+ return contact.name or self.jid.user
else:
if self.nick:
return self.nick