Beep when receiving a MUC invitation (by default)
This commit is contained in:
parent
3d9193509e
commit
825d5a6dd1
2 changed files with 4 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue