From 9e7842d0146d64f6a99aa5950a3f4308bb1d8a16 Mon Sep 17 00:00:00 2001 From: mathieui Date: Sun, 18 Dec 2011 20:16:19 +0100 Subject: Beep when receiving a MUC invitation (by default) --- src/core.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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): -- cgit v1.2.3