Comparison

mod_muc_inject_mentions/README.markdown @ 4160:9626d5d1adc4

mod_muc_inject_mentions: Update README explainig mention_delimiters setting
author Seve Ferrer <seve@delape.net>
date Mon, 28 Sep 2020 19:06:20 +0200
parent 4138:e8c1b35bc25b
child 4161:032e1c79d039
comparison
equal deleted inserted replaced
4159:94e3e7753220 4160:9626d5d1adc4
49 -- muc_inject_mentions_disabled_rooms = {"room@conferences.server.com"} 49 -- muc_inject_mentions_disabled_rooms = {"room@conferences.server.com"}
50 ``` 50 ```
51 51
52 If none or both are found, all rooms in the muc component will have mentions enabled. 52 If none or both are found, all rooms in the muc component will have mentions enabled.
53 53
54
55 It is also possible to modify how this module detects mentions.
56 In short, the module will detect if a mention is actually a mention
57 if the nickname (with or without affixes) is between spaces, new lines, or at the beginning/end of the message.
58 This can be changed using:
59
60 ```
61 -- muc_inject_mentions_mention_delimiters = {" ", "", "\n"}
62 ```
63 Generally speaking and unless the use-case is very specific, there should be no need to modify the defaults of this setting.
64
65
54 # Example stanzas 66 # Example stanzas
55 67
56 Alice sends the following message 68 Alice sends the following message
57 69
58 ``` 70 ```