Diff

mod_muc_inject_mentions/README.markdown @ 4163:320f6d374b5d

mod_muc_inject_mentions: Add new configuration setting to strip out prefixes from mentions
author Seve Ferrer <seve@delape.net>
date Wed, 30 Sep 2020 13:14:46 +0200
parent 4161:032e1c79d039
child 4164:a82b0745383b
line wrap: on
line diff
--- a/mod_muc_inject_mentions/README.markdown	Tue Sep 29 17:14:41 2020 +0200
+++ b/mod_muc_inject_mentions/README.markdown	Wed Sep 30 13:14:46 2020 +0200
@@ -62,6 +62,15 @@
 ```
 
 
+Prefixes can be removed using:
+```
+muc_inject_mentions_strip_out_prefixes = true
+```
+Turning `Hey @someone` into `Hey someone`.
+Currently, prefixes can only be removed from module added mentions.
+If the client sends a mention type reference pointing to a nickname using a prefix (`Hey @someone`), the prefix will not be removed.
+
+
 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.