diff options
author | Matthew Wild <mwild1@gmail.com> | 2018-08-08 23:20:07 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2018-08-08 23:20:07 +0100 |
commit | 7df3613768b9d0a85ccf0589caafc2e2a632c21e (patch) | |
tree | 77c141846138013e742b4afdc2d6631a64a1b420 /plugins/mod_pep.lua | |
parent | 674da5cef01d41d923718d721d7a665008bf12e9 (diff) | |
download | prosody-7df3613768b9d0a85ccf0589caafc2e2a632c21e.tar.gz prosody-7df3613768b9d0a85ccf0589caafc2e2a632c21e.zip |
mod_pep, util.pubsub: Rename restricted->outcast, none->member and add new 'none' affiliation to better match XEP-0060
Diffstat (limited to 'plugins/mod_pep.lua')
-rw-r--r-- | plugins/mod_pep.lua | 7 |
1 files changed, 2 insertions, 5 deletions
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; }; |