diff options
author | Maxime “pep” Buquet <pep@bouah.net> | 2019-04-29 21:57:32 +0100 |
---|---|---|
committer | Maxime “pep” Buquet <pep@bouah.net> | 2019-04-29 21:57:32 +0100 |
commit | 463ad192be47c9d110a6be3baffdbb181c325db4 (patch) | |
tree | e9e051c7b257149266dc6720a1018159faaeaefe | |
parent | 7a1b2b982f431eb591d348fbb799a4d761a13c65 (diff) | |
download | poezio-463ad192be47c9d110a6be3baffdbb181c325db4.tar.gz poezio-463ad192be47c9d110a6be3baffdbb181c325db4.tar.bz2 poezio-463ad192be47c9d110a6be3baffdbb181c325db4.tar.xz poezio-463ad192be47c9d110a6be3baffdbb181c325db4.zip |
ConversationTab: fix undefined reference, missing self
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
-rw-r--r-- | poezio/tabs/conversationtab.py | 2 |
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 |