diff --git a/data/default_config.cfg b/data/default_config.cfg index 540e021e..9763765b 100644 --- a/data/default_config.cfg +++ b/data/default_config.cfg @@ -170,7 +170,8 @@ show_inactive_tabs = true # - private (when a new private message is received, from your contacts or # someone from a MUC) # - message (any message from a MUC) -beep_on = highlight private +# - invite (when you receive an invitation for joining a MUC) +beep_on = highlight private invite # Theme 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):