Commit 6c3cda7b authored by Yann Leboulanger's avatar Yann Leboulanger

add jid to NotificationEvent for groupchat messages

parent 31f5a11b
......@@ -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]
......
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