From 463ad192be47c9d110a6be3baffdbb181c325db4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20=E2=80=9Cpep=E2=80=9D=20Buquet?= Date: Mon, 29 Apr 2019 21:57:32 +0100 Subject: ConversationTab: fix undefined reference, missing self MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maxime “pep” Buquet --- poezio/tabs/conversationtab.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3