Mercurial > prosody-modules
diff mod_muc_inject_mentions/README.markdown @ 4164:a82b0745383b
mod_muc_inject_mentions: Add new configuration setting to choose between registered nicknames or online participants
author | Seve Ferrer <seve@delape.net> |
---|---|
date | Thu, 01 Oct 2020 16:20:09 +0200 |
parents | 320f6d374b5d |
children | 32b4901a9d8d |
line wrap: on
line diff
--- a/mod_muc_inject_mentions/README.markdown Wed Sep 30 13:14:46 2020 +0200 +++ b/mod_muc_inject_mentions/README.markdown Thu Oct 01 16:20:09 2020 +0200 @@ -71,6 +71,20 @@ If the client sends a mention type reference pointing to a nickname using a prefix (`Hey @someone`), the prefix will not be removed. +There are two lists where this module pulls the participants from. +1. Online participants +2. Participants with registered nicknames + +By default, the module will try to find mentions to online participants. +Using: +``` +muc_inject_mentions_reserved_nicks = true +``` +Will try to find mentions to participants with registered nicknames. +This is useful for setups where the nickname is reserved for all participants, +allowing the module to catch mentions to participants that might not be online at the moment of sending the message. + + It is also possible to modify how this module detects mentions. In short, the module will detect if a mention is actually a mention if the nickname (with or without affixes) is between spaces, new lines, or at the beginning/end of the message.