From caf9924d3424ab933c02dddaee0fa9a4e577c504 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Wed, 8 Aug 2018 20:40:44 +0100 Subject: mod_pep: Add comment explaining 'none' affiliation --- plugins/mod_pep.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/mod_pep.lua b/plugins/mod_pep.lua index e416fe8b..47c73e1e 100644 --- a/plugins/mod_pep.lua +++ b/plugins/mod_pep.lua @@ -249,6 +249,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"; end return "restricted"; -- cgit v1.2.3