From e159fad5650eddb846266a9bd5b7cdc25d056f74 Mon Sep 17 00:00:00 2001 From: mathieui Date: Sat, 26 Jun 2021 12:07:42 +0200 Subject: fix: fallback to server jid in conversationtab if there is no userpart and no known nick, it is a server JID --- 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 eb6e97b5..bcffb22d 100644 --- a/poezio/tabs/conversationtab.py +++ b/poezio/tabs/conversationtab.py @@ -366,7 +366,7 @@ class ConversationTab(OneToOneTab): else: if self.nick: return self.nick - return self.jid.user + return self.jid.user or self.jid.domain def on_input(self, key, raw): if not raw and key in self.key_func: -- cgit v1.2.3