Clarify mod_offline's use_mam_for_storage option

This commit is contained in:
Badlop 2022-04-13 16:34:57 +02:00
parent d8642fc7c2
commit 87445bc74b
1 changed files with 8 additions and 10 deletions

View File

@ -1294,20 +1294,18 @@ mod_doc() ->
{use_mam_for_storage, {use_mam_for_storage,
#{value => "true | false", #{value => "true | false",
desc => desc =>
?T("This is an experimental option. Enabling this option " ?T("This is an experimental option. Enabling this option, "
"will make 'mod_offline' not use the former spool " "'mod_offline' uses the 'mod_mam' archive table instead "
"table for storing MucSub offline messages, but will " "of its own spool table to retrieve the messages received "
"use the archive table instead. This use of the archive " "when the user was offline. This allows client "
"table is cleaner and it makes it possible for clients " "developers to slowly drop XEP-0160 and rely on XEP-0313 "
"to slowly drop the former offline use case and rely on " "instead. It also further reduces the "
"message archive instead. It also further reduces the " "storage required when you enable MucSub. Enabling this "
"storage required when you enabled MucSub. Enabling this "
"option has a known drawback for the moment: most of " "option has a known drawback for the moment: most of "
"flexible message retrieval queries don't work (those that " "flexible message retrieval queries don't work (those that "
"allow retrieval/deletion of messages by id), but this " "allow retrieval/deletion of messages by id), but this "
"specification is not widely used. The default value " "specification is not widely used. The default value "
"is 'false' to keep former behaviour as default and " "is 'false' to keep former behaviour as default.")}},
"ensure this option is disabled.")}},
{bounce_groupchat, {bounce_groupchat,
#{value => "true | false", #{value => "true | false",
desc => desc =>