From ed0675b09692419c5463fd205d7ef50f8f0e2e36 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Wed, 8 Aug 2018 20:55:14 +0200 Subject: 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. --- plugins/mod_pep.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'plugins') 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; }; -- cgit v1.2.3