Comparison

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
comparison
equal deleted inserted replaced
4162:f7bc0e4ab4a2 4163:320f6d374b5d
60 ``` 60 ```
61 muc_inject_mentions_append_mentions = true 61 muc_inject_mentions_append_mentions = true
62 ``` 62 ```
63 63
64 64
65 Prefixes can be removed using:
66 ```
67 muc_inject_mentions_strip_out_prefixes = true
68 ```
69 Turning `Hey @someone` into `Hey someone`.
70 Currently, prefixes can only be removed from module added mentions.
71 If the client sends a mention type reference pointing to a nickname using a prefix (`Hey @someone`), the prefix will not be removed.
72
73
65 It is also possible to modify how this module detects mentions. 74 It is also possible to modify how this module detects mentions.
66 In short, the module will detect if a mention is actually a mention 75 In short, the module will detect if a mention is actually a mention
67 if the nickname (with or without affixes) is between spaces, new lines, or at the beginning/end of the message. 76 if the nickname (with or without affixes) is between spaces, new lines, or at the beginning/end of the message.
68 This can be changed using: 77 This can be changed using:
69 78