Changeset

9157:c517a219f2ac

mod_pep: Add comment explaining 'none' affiliation
author Matthew Wild <mwild1@gmail.com>
date Wed, 08 Aug 2018 20:40:44 +0100
parents 9156:f06484110817
children 9158:37e814a680ab
files plugins/mod_pep.lua
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_pep.lua	Wed Aug 08 20:38:10 2018 +0100
+++ b/plugins/mod_pep.lua	Wed Aug 08 20:40:44 2018 +0100
@@ -249,6 +249,9 @@
 		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";