Fix the nickname of server-generated messages
This commit is contained in:
parent
947cd13107
commit
4c4e2083a6
1 changed files with 2 additions and 0 deletions
|
@ -181,6 +181,8 @@ def on_normal_message(self, message):
|
|||
remote_nick = message['nick']['nick']
|
||||
if not remote_nick:
|
||||
remote_nick = conv_jid.user
|
||||
if not remote_nick:
|
||||
remote_nick = conv_jid.full
|
||||
own = False
|
||||
# we wrote the message (happens with carbons)
|
||||
elif message['from'].bare == self.xmpp.boundjid.bare:
|
||||
|
|
Loading…
Reference in a new issue