summaryrefslogtreecommitdiff
path: root/src/core.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2011-12-18 20:16:19 +0100
committerFlorent Le Coz <louiz@louiz.org>2012-01-26 10:05:34 +0100
commit825d5a6dd1aee29aef12d49d147b50f8ce7c15d0 (patch)
tree6179932552493d7fdf21570b92eb8deaff995e24 /src/core.py
parent3d9193509e44f0767d3b5d0d5f984a90fec572e3 (diff)
downloadpoezio-825d5a6dd1aee29aef12d49d147b50f8ce7c15d0.tar.gz
poezio-825d5a6dd1aee29aef12d49d147b50f8ce7c15d0.tar.bz2
poezio-825d5a6dd1aee29aef12d49d147b50f8ce7c15d0.tar.xz
poezio-825d5a6dd1aee29aef12d49d147b50f8ce7c15d0.zip
Beep when receiving a MUC invitation (by default)
Diffstat (limited to 'src/core.py')
-rw-r--r--src/core.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core.py b/src/core.py
index 3bb0436e..d0f6c4de 100644
--- a/src/core.py
+++ b/src/core.py
@@ -371,6 +371,8 @@ class Core(object):
if password:
msg += ". The password is \"%s\"." % password
self.information(msg, 'Info')
+ if 'invite' in config.get('beep_on', 'invite').split():
+ curses.beep()
self.pending_invites[jid.bare] = inviter.full
def command_invite(self, arg):