summaryrefslogtreecommitdiff
path: root/plugins/otr.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2014-05-25 12:40:07 +0200
committermathieui <mathieui@mathieui.net>2014-05-25 12:40:07 +0200
commit35e46c499d77f2a48a3f33cb7322bc97c08abf11 (patch)
tree671263140bf8f09505cca91d2a43d458597b8208 /plugins/otr.py
parentd7bbf339cf72c4e08524aa771095b39902d0f094 (diff)
downloadpoezio-35e46c499d77f2a48a3f33cb7322bc97c08abf11.tar.gz
poezio-35e46c499d77f2a48a3f33cb7322bc97c08abf11.tar.bz2
poezio-35e46c499d77f2a48a3f33cb7322bc97c08abf11.tar.xz
poezio-35e46c499d77f2a48a3f33cb7322bc97c08abf11.zip
Fix a regression that prevented beeps with OTR messages
Diffstat (limited to 'plugins/otr.py')
-rw-r--r--plugins/otr.py2
1 files changed, 1 insertions, 1 deletions
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):