Commit 4c4e2083 authored by mathieui's avatar mathieui

Fix the nickname of server-generated messages

parent 947cd131
......@@ -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:
......
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