Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/processone/ejabberd.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBadlop <badlop@process-one.net>2020-01-15 18:16:49 +0300
committerBadlop <badlop@process-one.net>2020-04-02 13:56:28 +0300
commit116fa8e9ca8438ca1ab7984eea63d24bdfab94af (patch)
treee802fc873605e30ee9d2da05a104ce3838772d5f
parentce6fd654a04df5b20ad85961072b9844feca0b63 (diff)
add missing mod_mam options
-rw-r--r--src/mod_mam.erl17
1 files changed, 15 insertions, 2 deletions
diff --git a/src/mod_mam.erl b/src/mod_mam.erl
index 3927c9ee1..08a4059b4 100644
--- a/src/mod_mam.erl
+++ b/src/mod_mam.erl
@@ -1435,7 +1435,12 @@ mod_doc() ->
"Compatible XMPP clients can use it to store their "
"chat history on the server."),
opts =>
- [{assume_mam_usage,
+ [{access_preferences,
+ #{value => ?T("AccessName"),
+ desc =>
+ ?T("This access rule defines who is allowed to modify the "
+ "MAM preferences. The default value is 'all'.")}},
+ {assume_mam_usage,
#{value => "true | false",
desc =>
?T("This option determines how ejabberd's "
@@ -1499,4 +1504,12 @@ mod_doc() ->
{cache_life_time,
#{value => "timeout()",
desc =>
- ?T("Same as top-level 'cache_life_time' option, but applied to this module only.")}}]}.
+ ?T("Same as top-level 'cache_life_time' option, but applied to this module only.")}},
+ {user_mucsub_from_muc_archive,
+ #{value => "true | false",
+ desc =>
+ ?T("When this option is disabled, for each individual "
+ "subscriber a separa mucsub message is stored. With this "
+ "option enabled, when a user fetches archive virtual "
+ "mucsub, messages are generated from muc archives. "
+ "The default value is 'false'.")}}]}.