Fix a regression that prevented beeps with OTR messages

This commit is contained in:
mathieui 2014-05-25 12:40:07 +02:00
parent d7bbf339cf
commit 35e46c499d

View file

@ -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):