From 333d260d50f212ea27b1ccbdeda8d88549683df6 Mon Sep 17 00:00:00 2001 From: mathieui Date: Fri, 29 May 2020 18:31:21 +0200 Subject: Fix a traceback after a received MUC message "highlight referenced before assignment" --- poezio/core/handlers.py | 1 + 1 file changed, 1 insertion(+) 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( -- cgit v1.2.3