summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2011-12-18 20:16:19 +0100
committermathieui <mathieui@mathieui.net>2011-12-18 20:16:19 +0100
commit9e7842d0146d64f6a99aa5950a3f4308bb1d8a16 (patch)
tree6179932552493d7fdf21570b92eb8deaff995e24 /src
parent0b2037a67c60c860dd50f572cca34e9e0595c1e4 (diff)
downloadpoezio-9e7842d0146d64f6a99aa5950a3f4308bb1d8a16.tar.gz
poezio-9e7842d0146d64f6a99aa5950a3f4308bb1d8a16.tar.bz2
poezio-9e7842d0146d64f6a99aa5950a3f4308bb1d8a16.tar.xz
poezio-9e7842d0146d64f6a99aa5950a3f4308bb1d8a16.zip
Beep when receiving a MUC invitation (by default)
Diffstat (limited to 'src')
-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):