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
commitedf02644be7ca46335beb2a0ac227bbb6e5a52af (patch)
treee4dfe2ea92921d4c82192f9c8019e6ace7bf7dfe
parent2363ba3749ad5c8d44334c10199589971f7241ef (diff)
downloadprosody-edf02644be7ca46335beb2a0ac227bbb6e5a52af.tar.gz
prosody-edf02644be7ca46335beb2a0ac227bbb6e5a52af.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;
};