From 4c4e2083a6f4cab94b5cf63620e7a1be66c82817 Mon Sep 17 00:00:00 2001 From: mathieui Date: Sat, 26 Apr 2014 11:50:00 +0200 Subject: Fix the nickname of server-generated messages --- src/core/handlers.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/core/handlers.py b/src/core/handlers.py index aad0cb37..7ce14c65 100644 --- a/src/core/handlers.py +++ b/src/core/handlers.py @@ -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: -- cgit v1.2.3