# HG changeset patch # User Seve Ferrer # Date 1601312780 -7200 # Node ID 9626d5d1adc4a6c0d769611e1a275637f8ab408e # Parent 94e3e77532202a38190b9a640342823de6928f5d mod_muc_inject_mentions: Update README explainig mention_delimiters setting diff -r 94e3e7753220 -r 9626d5d1adc4 mod_muc_inject_mentions/README.markdown --- a/mod_muc_inject_mentions/README.markdown Mon Sep 28 18:46:33 2020 +0200 +++ b/mod_muc_inject_mentions/README.markdown Mon Sep 28 19:06:20 2020 +0200 @@ -51,6 +51,18 @@ If none or both are found, all rooms in the muc component will have mentions enabled. + +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. +This can be changed using: + +``` +-- muc_inject_mentions_mention_delimiters = {" ", "", "\n"} +``` +Generally speaking and unless the use-case is very specific, there should be no need to modify the defaults of this setting. + + # Example stanzas Alice sends the following message