comparison mod_muc_inject_mentions/mod_muc_inject_mentions.lua @ 4162:f7bc0e4ab4a2

mod_muc_inject_mentions: Should not append mentions by default
author Seve Ferrer <seve@delape.net>
date Tue, 29 Sep 2020 17:14:41 +0200
parents 032e1c79d039
children 320f6d374b5d
comparison
equal deleted inserted replaced
4161:032e1c79d039 4162:f7bc0e4ab4a2
5 local prefixes = module:get_option("muc_inject_mentions_prefixes", nil) 5 local prefixes = module:get_option("muc_inject_mentions_prefixes", nil)
6 local suffixes = module:get_option("muc_inject_mentions_suffixes", nil) 6 local suffixes = module:get_option("muc_inject_mentions_suffixes", nil)
7 local enabled_rooms = module:get_option("muc_inject_mentions_enabled_rooms", nil) 7 local enabled_rooms = module:get_option("muc_inject_mentions_enabled_rooms", nil)
8 local disabled_rooms = module:get_option("muc_inject_mentions_disabled_rooms", nil) 8 local disabled_rooms = module:get_option("muc_inject_mentions_disabled_rooms", nil)
9 local mention_delimiters = module:get_option_set("muc_inject_mentions_mention_delimiters", {" ", "", "\n"}) 9 local mention_delimiters = module:get_option_set("muc_inject_mentions_mention_delimiters", {" ", "", "\n"})
10 local append_mentions = module:get_option("muc_inject_mentions_append_mentions", true) 10 local append_mentions = module:get_option("muc_inject_mentions_append_mentions", false)
11 11
12 12
13 local reference_xmlns = "urn:xmpp:reference:0" 13 local reference_xmlns = "urn:xmpp:reference:0"
14 14
15 15