From 60baee6212806f161f1e872f8e94a70a6f659b0c Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Tue, 1 Jun 2010 15:41:23 +0200 Subject: fix bug with server messages (f.e. status changes) previously server messages causes urgent even if the option is deselected in the customizations --- urgent.tcl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/urgent.tcl b/urgent.tcl index 2d5ce6e..3ad7ee6 100644 --- a/urgent.tcl +++ b/urgent.tcl @@ -89,7 +89,7 @@ proc urgent::chat_message_notify {chatid from type body extras} { if {$from == "" && $options(handle_server_messages)} { set_urgency_hint $chatid - } elseif {$options(handle_personal_messages)} { + } elseif {$from != "" && $options(handle_personal_messages)} { set_urgency_hint $chatid } } -- cgit v1.2.3