Fix a traceback after a received MUC message
"highlight referenced before assignment"
This commit is contained in:
parent
502d79e763
commit
333d260d50
1 changed files with 1 additions and 0 deletions
|
@ -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(
|
||||
|
|
Loading…
Reference in a new issue