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

Fix a traceback after a received MUC message

See merge request poezio/poezio!137
This commit is contained in:
Maxime Buquet 2020-05-29 18:37:34 +02:00
commit ab9108e00a

View file

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