comparison mod_mam_muc/README.markdown @ 2718:02d688ba7739

mod_mam_muc: Make calculation of max history length more like in mod_muc
author Kim Alvefur <zash@zash.se>
date Fri, 23 Jun 2017 13:51:23 +0200
parents b3fbf9050526
children 902ecd6400bd
comparison
equal deleted inserted replaced
2717:14f62b971160 2718:02d688ba7739
39 ``` {.lua} 39 ``` {.lua}
40 muc_log_by_default = true; -- Enable logging by default (can be disabled in room config) 40 muc_log_by_default = true; -- Enable logging by default (can be disabled in room config)
41 41
42 muc_log_all_rooms = false; -- set to true to force logging of all rooms 42 muc_log_all_rooms = false; -- set to true to force logging of all rooms
43 43
44 -- This is the largest number of messages that are allowed to be retrieved in one MAM request.
45 max_archive_query_results = 20;
46
47 -- This is the largest number of messages that are allowed to be retrieved when joining a room. 44 -- This is the largest number of messages that are allowed to be retrieved when joining a room.
48 max_history_messages = 1000; 45 max_history_messages = 20;
49 ``` 46 ```
50 47
51 Compatibility 48 Compatibility
52 ============= 49 =============
53 50