add jid to NotificationEvent for groupchat messages
This commit is contained in:
parent
2cfc362980
commit
087d2a05b9
|
@ -2373,6 +2373,7 @@ class NotificationEvent(nec.NetworkIncomingEvent):
|
||||||
if not msg_obj.msg_obj.gc_control:
|
if not msg_obj.msg_obj.gc_control:
|
||||||
# we got a message from a room we're not in? ignore it
|
# we got a message from a room we're not in? ignore it
|
||||||
return
|
return
|
||||||
|
self.jid = msg_obj.jid
|
||||||
sound = msg_obj.msg_obj.gc_control.highlighting_for_message(
|
sound = msg_obj.msg_obj.gc_control.highlighting_for_message(
|
||||||
msg_obj.msgtxt, msg_obj.timestamp)[1]
|
msg_obj.msgtxt, msg_obj.timestamp)[1]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue