Software /
code /
prosody-modules
Comparison
mod_mam_adhoc/README.md @ 6211:750d64c47ec6 draft default tip
Merge
author | Trần H. Trung <xmpp:trần.h.trung@trung.fun> |
---|---|
date | Tue, 18 Mar 2025 00:31:36 +0700 |
parent | 6003:fe081789f7b5 |
comparison
equal
deleted
inserted
replaced
6210:24316a399978 | 6211:750d64c47ec6 |
---|---|
1 --- | |
2 labels: | |
3 - 'Stage-Alpha' | |
4 summary: 'Ad-hoc interface to Message Archive Management Settings' | |
5 ... | |
6 | |
7 Introduction | |
8 ============ | |
9 | |
10 This module complements mod\_mam by allowing clients to change archiving | |
11 preferences through an Ad-hoc command. | |
12 | |
13 Details | |
14 ======= | |
15 | |
16 When enabled, an "Archive Settings" command should appear in the list of | |
17 Ad-hoc commands available. This allows the user to change default policy | |
18 (always, never, roster) and which JIDs to always store or never store. | |
19 | |
20 Usage | |
21 ===== | |
22 | |
23 First copy the module to the prosody plugins directory. | |
24 | |
25 Then add "mam\_adhoc" to your modules\_enabled list: | |
26 | |
27 ``` {.lua} | |
28 modules_enabled = { | |
29 -- ... | |
30 "mam", | |
31 "mam_adhoc", | |
32 -- ... | |
33 } | |
34 ``` |