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 | a657fb3dc974185a60ed27e681b43568bc247ae1 (patch) | |
tree | 77c141846138013e742b4afdc2d6631a64a1b420 /plugins | |
parent | 7899225fbeaa08070a51eafaaeb28e9d17ba63a6 (diff) | |
download | prosody-a657fb3dc974185a60ed27e681b43568bc247ae1.tar.gz prosody-a657fb3dc974185a60ed27e681b43568bc247ae1.zip |
mod_pep, util.pubsub: Rename restricted->outcast, none->member and add new 'none' affiliation to better match XEP-0060
Diffstat (limited to 'plugins')
-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; }; |