Software /
code /
prosody-modules
Diff
mod_muc_inject_mentions/README.markdown @ 4161:032e1c79d039
mod_muc_inject_mentions: Add new configuration setting to look for mentions even if the client sent some already
author | Seve Ferrer <seve@delape.net> |
---|---|
date | Tue, 29 Sep 2020 17:05:14 +0200 |
parent | 4160:9626d5d1adc4 |
child | 4163:320f6d374b5d |
line wrap: on
line diff
--- a/mod_muc_inject_mentions/README.markdown Mon Sep 28 19:06:20 2020 +0200 +++ b/mod_muc_inject_mentions/README.markdown Tue Sep 29 17:05:14 2020 +0200 @@ -52,6 +52,16 @@ If none or both are found, all rooms in the muc component will have mentions enabled. +By default, if a message contains at least one mention, +the module does not do anything, as it believes all mentions were already sent by the client. +In cases where it is desired the module to inspect the message and try to find extra mentions +that could be missing, the following setting can be added: + +``` +muc_inject_mentions_append_mentions = true +``` + + 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.