add jid to NotificationEvent for groupchat messages

This commit is contained in:
Yann Leboulanger 2015-06-20 21:30:48 +02:00
parent 2cfc362980
commit 087d2a05b9
1 changed files with 1 additions and 0 deletions

View File

@ -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]