mod_mam_adhoc/README.wiki
changeset 1786 29f3d6b7ad16
equal deleted inserted replaced
1785:12ac88940fe3 1786:29f3d6b7ad16
       
     1 #summary Ad-hoc interface to Message Archive Management Settings
       
     2 #labels Stage-Alpha
       
     3 
       
     4 = Introduction =
       
     5 
       
     6 This module complements mod_mam by allowing clients to change archiving preferences through an Ad-hoc command.
       
     7 
       
     8 = Details =
       
     9 
       
    10 When enabled, an "Archive Settings" command should appear in the list of Ad-hoc commands available.  This allows the user to change default policy (always, never, roster) and which JIDs to always store or never store.
       
    11 
       
    12 = Usage =
       
    13 
       
    14 First copy the module to the prosody plugins directory.
       
    15 
       
    16 Then add "mam_adhoc" to your modules_enabled list:
       
    17 {{{
       
    18     modules_enabled = {
       
    19                     -- ...
       
    20                     "mam",
       
    21                     "mam_adhoc",
       
    22                     -- ...
       
    23 		}
       
    24 }}}
       
    25