From 35e46c499d77f2a48a3f33cb7322bc97c08abf11 Mon Sep 17 00:00:00 2001 From: mathieui Date: Sun, 25 May 2014 12:40:07 +0200 Subject: [PATCH] Fix a regression that prevented beeps with OTR messages --- plugins/otr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/otr.py b/plugins/otr.py index f90073ea..a4012c47 100644 --- a/plugins/otr.py +++ b/plugins/otr.py @@ -200,7 +200,7 @@ def hl(tab): conv_jid = safeJID(tab.name) if 'private' in config.get('beep_on', 'highlight private').split(): - if config.get_by_tabname('disable_beep', False, conv_jid.bare, False): + if not config.get_by_tabname('disable_beep', False, conv_jid.bare, False): curses.beep() class PoezioContext(Context):