Commit e159fad5 authored by mathieui's avatar mathieui

fix: fallback to server jid in conversationtab

if there is no userpart and no known nick, it is a server JID
parent c2967689
Pipeline #3979 passed with stages
in 5 minutes and 35 seconds
......@@ -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:
......
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