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.
--- a/plugins/mod_pep.lua Wed Aug 08 09:29:32 2018 +0200
+++ b/plugins/mod_pep.lua Wed Aug 08 20:55:14 2018 +0200
@@ -273,6 +273,7 @@
if subscription_presence(username, jid) then
return "subscriber";
end
+ return "restricted";
end;
};