From a657fb3dc974185a60ed27e681b43568bc247ae1 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Wed, 8 Aug 2018 23:20:07 +0100 Subject: mod_pep, util.pubsub: Rename restricted->outcast, none->member and add new 'none' affiliation to better match XEP-0060 --- plugins/mod_pep.lua | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'plugins/mod_pep.lua') diff --git a/plugins/mod_pep.lua b/plugins/mod_pep.lua index e43b67b1..4239ce66 100644 --- a/plugins/mod_pep.lua +++ b/plugins/mod_pep.lua @@ -171,12 +171,9 @@ function get_pep_service(username) access_models = { presence = function (jid) if subscription_presence(username, jid) then - -- This is their affiliation level which determines - -- permissions, it is acceptable to be a subscriber - -- with no affiliation. - return "none"; + return "member"; end - return "restricted"; + return "outcast"; end; }; -- cgit v1.2.3