aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-08-04 03:38:55 +0200
committerKim Alvefur <zash@zash.se>2018-08-04 03:38:55 +0200
commit2551d819b53d0c8a9790406326dcfcae9fcc4d63 (patch)
tree80bc9ae643f9735073e673fe5f275352e03aca7b
parent36c052a16520fff0b9497759d2f830759f8f791c (diff)
downloadprosody-2551d819b53d0c8a9790406326dcfcae9fcc4d63.tar.gz
prosody-2551d819b53d0c8a9790406326dcfcae9fcc4d63.zip
mod_pep: Set default access model to 'presence'
-rw-r--r--plugins/mod_pep.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mod_pep.lua b/plugins/mod_pep.lua
index 7b933e72..3996aa46 100644
--- a/plugins/mod_pep.lua
+++ b/plugins/mod_pep.lua
@@ -227,6 +227,7 @@ function get_pep_service(username)
node_defaults = {
["max_items"] = 1;
["persist_items"] = true;
+ ["access_model"] = "presence";
};
autocreate_on_publish = true;