ConversationTab: fix undefined reference, missing self

Signed-off-by: Maxime Buquet's avatarMaxime “pep” Buquet <pep@bouah.net>
parent 7a1b2b98
Pipeline #2063 passed with stages
in 2 minutes and 33 seconds
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment