equal
deleted
inserted
replaced
12 local namespace = "urn:xmpp:bookmarks:1"; |
12 local namespace = "urn:xmpp:bookmarks:1"; |
13 |
13 |
14 local default_options = { |
14 local default_options = { |
15 ["persist_items"] = true; |
15 ["persist_items"] = true; |
16 -- This should be much higher, the XEP recommends 10000 but mod_pep rejects that. |
16 -- This should be much higher, the XEP recommends 10000 but mod_pep rejects that. |
17 ["max_items"] = 255; |
17 ["max_items"] = module:get_option_number("pep_max_items", 256); |
18 ["send_last_published_item"] = "never"; |
18 ["send_last_published_item"] = "never"; |
19 ["access_model"] = "whitelist"; |
19 ["access_model"] = "whitelist"; |
20 }; |
20 }; |
21 |
21 |
22 module:hook("account-disco-info", function (event) |
22 module:hook("account-disco-info", function (event) |