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:
parent
c296768987
commit
e159fad565
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue