Mercurial > prosody-modules
diff mod_muc_inject_mentions/README.markdown @ 4253:32b4901a9d8d
mod_muc_inject_mentions: Add new setting to trigger mentions only if a prefix is found
author | Seve Ferrer <seve@delape.net> |
---|---|
date | Tue, 17 Nov 2020 13:45:33 +0100 |
parents | a82b0745383b |
children | 33a41503b9e3 |
line wrap: on
line diff
--- a/mod_muc_inject_mentions/README.markdown Sun Nov 15 19:07:34 2020 +0100 +++ b/mod_muc_inject_mentions/README.markdown Tue Nov 17 13:45:33 2020 +0100 @@ -91,10 +91,21 @@ This can be changed using: ``` --- muc_inject_mentions_mention_delimiters = {" ", "", "\n"} +-- muc_inject_mentions_mention_delimiters = {" ", "", "\n", "\t"} ``` Generally speaking and unless the use-case is very specific, there should be no need to modify the defaults of this setting. +When triggering a mention must only happen if that mention includes a prefix, this can be configured with: +``` +-- muc_inject_mentions_prefix_mandatory = true +``` + +By default, mentions use the bare jid of the participant as the URI attribute. +If the MUC jid of the participant (eg. room@chat.example.org/Romeo) is preferred, this can be set using: +``` +-- muc_inject_mentions_use_real_jid = false +``` + # Example stanzas