comparison mod_muc_inject_mentions/README.markdown @ 4164:a82b0745383b

mod_muc_inject_mentions: Add new configuration setting to choose between registered nicknames or online participants
author Seve Ferrer <seve@delape.net>
date Thu, 01 Oct 2020 16:20:09 +0200
parents 320f6d374b5d
children 32b4901a9d8d
comparison
equal deleted inserted replaced
4163:320f6d374b5d 4164:a82b0745383b
69 Turning `Hey @someone` into `Hey someone`. 69 Turning `Hey @someone` into `Hey someone`.
70 Currently, prefixes can only be removed from module added mentions. 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. 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 72
73 73
74 There are two lists where this module pulls the participants from.
75 1. Online participants
76 2. Participants with registered nicknames
77
78 By default, the module will try to find mentions to online participants.
79 Using:
80 ```
81 muc_inject_mentions_reserved_nicks = true
82 ```
83 Will try to find mentions to participants with registered nicknames.
84 This is useful for setups where the nickname is reserved for all participants,
85 allowing the module to catch mentions to participants that might not be online at the moment of sending the message.
86
87
74 It is also possible to modify how this module detects mentions. 88 It is also possible to modify how this module detects mentions.
75 In short, the module will detect if a mention is actually a mention 89 In short, the module will detect if a mention is actually a mention
76 if the nickname (with or without affixes) is between spaces, new lines, or at the beginning/end of the message. 90 if the nickname (with or without affixes) is between spaces, new lines, or at the beginning/end of the message.
77 This can be changed using: 91 This can be changed using:
78 92