fix: fallback to server jid in conversationtab

if there is no userpart and no known nick, it is a server JID
This commit is contained in:
mathieui 2021-06-26 12:07:42 +02:00
parent c296768987
commit e159fad565

View file

@ -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: