Next: , Previous: Message alerts, Up: Customizing alerts

15.5.4 MUC alerts

Set jabber-alert-muc-function to your desired function. This function should look like:

     (defun function (nick group buffer text)

nick is the nickname, group is the JID of the group, buffer is the buffer where the message is displayed, and text is the text of the message.

The default function, jabber-muc-default-message, returns “Message from nick in group” or “Message in group”, the latter for messages from the room itself.

All MUC alert hooks take the same arguments plus the additional proposed-alert, which is the result of the specified message function.

By default, no alert is made for messages from yourself. To change that, customize the variable jabber-muc-alert-self.