diff options
author | Badlop <badlop@process-one.net> | 2020-01-15 16:16:49 +0100 |
---|---|---|
committer | Badlop <badlop@process-one.net> | 2020-04-02 12:56:28 +0200 |
commit | 116fa8e9ca8438ca1ab7984eea63d24bdfab94af (patch) | |
tree | e802fc873605e30ee9d2da05a104ce3838772d5f /src/mod_mam.erl | |
parent | Fix mod_pubsub indentation (diff) |
add missing mod_mam options
Diffstat (limited to 'src/mod_mam.erl')
-rw-r--r-- | src/mod_mam.erl | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/src/mod_mam.erl b/src/mod_mam.erl index 3927c9ee..08a4059b 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'.")}}]}. |