diff options
author | Matthew Wild <mwild1@gmail.com> | 2018-08-08 20:40:44 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2018-08-08 20:40:44 +0100 |
commit | caf9924d3424ab933c02dddaee0fa9a4e577c504 (patch) | |
tree | 8bdb06143d6682ad136ea116799581b28782b881 /plugins/mod_pep.lua | |
parent | 341f50a06bb78a5b4ae6c3ae32c926d8e4f707bc (diff) | |
download | prosody-caf9924d3424ab933c02dddaee0fa9a4e577c504.tar.gz prosody-caf9924d3424ab933c02dddaee0fa9a4e577c504.zip |
mod_pep: Add comment explaining 'none' affiliation
Diffstat (limited to 'plugins/mod_pep.lua')
-rw-r--r-- | plugins/mod_pep.lua | 3 |
1 files changed, 3 insertions, 0 deletions
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"; |