aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-08-08 20:55:14 +0200
committerKim Alvefur <zash@zash.se>2018-08-08 20:55:14 +0200
commited0675b09692419c5463fd205d7ef50f8f0e2e36 (patch)
treee4dfe2ea92921d4c82192f9c8019e6ace7bf7dfe
parentb12af44abd5ef39e915f6b69e33d6a2f8ed36bd7 (diff)
downloadprosody-ed0675b09692419c5463fd205d7ef50f8f0e2e36.tar.gz
prosody-ed0675b09692419c5463fd205d7ef50f8f0e2e36.zip
mod_pep: Change default affiliation in the "presence" access model to "restricted" for non-contacts
This lets us loosen the restrictions of the "none" affiliation, so that the "open" access model allows anyone basic access.
-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 4986f714..55373f45 100644
--- a/plugins/mod_pep.lua
+++ b/plugins/mod_pep.lua
@@ -273,6 +273,7 @@ function get_pep_service(username)
if subscription_presence(username, jid) then
return "subscriber";
end
+ return "restricted";
end;
};