Commit ab9108e0 authored by Maxime Buquet's avatar Maxime Buquet

Merge branch 'muc-message-received-traceback' into 'master'

Fix a traceback after a received MUC message

See merge request poezio/poezio!137
parents 502d79e7 333d260d
......@@ -789,6 +789,7 @@ class HandlerCore:
if not replaced:
# Messages coming from MUC barejid (Server maintenance, IRC mode
# changes from biboumi, etc.) are displayed as info messages.
highlight = False
if message['from'].resource:
highlight = tab.message_is_highlight(body, nick_from, delayed)
ui_msg = PMessage(
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