diff options
author | mathieui <mathieui@mathieui.net> | 2020-05-29 18:31:21 +0200 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2020-05-29 18:32:16 +0200 |
commit | 333d260d50f212ea27b1ccbdeda8d88549683df6 (patch) | |
tree | 5b9ed28d12e73d333556e641c66007e13d48092c | |
parent | 502d79e763b29cf1a7327f9054ebbc436117a26f (diff) | |
download | poezio-333d260d50f212ea27b1ccbdeda8d88549683df6.tar.gz poezio-333d260d50f212ea27b1ccbdeda8d88549683df6.tar.bz2 poezio-333d260d50f212ea27b1ccbdeda8d88549683df6.tar.xz poezio-333d260d50f212ea27b1ccbdeda8d88549683df6.zip |
Fix a traceback after a received MUC message
"highlight referenced before assignment"
-rw-r--r-- | poezio/core/handlers.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/poezio/core/handlers.py b/poezio/core/handlers.py index cad4d47e..c344ebd3 100644 --- a/poezio/core/handlers.py +++ b/poezio/core/handlers.py @@ -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( |