Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann Leboulanger <asterix@lagaule.org>2015-06-20 22:30:48 +0300
committerYann Leboulanger <asterix@lagaule.org>2015-06-20 22:30:48 +0300
commit087d2a05b916058e90875e640ad06b6ee89b785d (patch)
tree179338aac44dbc63c82defef3c1008fe8f8ff8be /src/common
parent2cfc36298075f69bcb5b28ded5dcb6f30ebae46d (diff)
add jid to NotificationEvent for groupchat messages
Diffstat (limited to 'src/common')
-rw-r--r--src/common/connection_handlers_events.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/connection_handlers_events.py b/src/common/connection_handlers_events.py
index ecd22280b..47282059d 100644
--- a/src/common/connection_handlers_events.py
+++ b/src/common/connection_handlers_events.py
@@ -2373,6 +2373,7 @@ class NotificationEvent(nec.NetworkIncomingEvent):
if not msg_obj.msg_obj.gc_control:
# we got a message from a room we're not in? ignore it
return
+ self.jid = msg_obj.jid
sound = msg_obj.msg_obj.gc_control.highlighting_for_message(
msg_obj.msgtxt, msg_obj.timestamp)[1]