aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2010-06-01 15:41:23 +0200
committerAlexander Sulfrian <alexander@sulfrian.net>2010-06-01 16:04:55 +0200
commit60baee6212806f161f1e872f8e94a70a6f659b0c (patch)
tree2afadf5868fdddf0b2af12ab52f430c494ab0d25
parent19f52e51101e970aef1fe6ad9a73886fb8b79613 (diff)
downloadurgent-branch-0.11.1.tar.gz
urgent-branch-0.11.1.tar.xz
urgent-branch-0.11.1.zip
fix bug with server messages (f.e. status changes)branch-0.11.1
previously server messages causes urgent even if the option is deselected in the customizations
-rw-r--r--urgent.tcl2
1 files changed, 1 insertions, 1 deletions
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
}
}