Skip to content
Snippets Groups Projects
Commit fbd3c459 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

fix traceback

parent 43edf681
No related branches found
No related tags found
No related merge requests found
......@@ -2005,6 +2005,9 @@ class NotificationEvent(nec.NetworkIncomingEvent):
self.do_sound = True
def handle_incoming_gc_msg_event(self, msg_obj):
if not msg_obj.msg_obj.gc_control:
# we got a message from a room we're not in? ignore it
return
sound = msg_obj.msg_obj.gc_control.highlighting_for_message(
msg_obj.msgtxt, msg_obj.timestamp)[1]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment