Software /
code /
prosody
Diff
plugins/mod_pep.lua @ 9160:e13a1a0b0107
mod_pep, util.pubsub: Rename restricted->outcast, none->member and add new 'none' affiliation to better match XEP-0060
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Wed, 08 Aug 2018 23:20:07 +0100 |
parent | 9158:37e814a680ab |
child | 9179:82fad995a149 |
line wrap: on
line diff
--- a/plugins/mod_pep.lua Wed Aug 08 21:49:41 2018 +0200 +++ b/plugins/mod_pep.lua Wed Aug 08 23:20:07 2018 +0100 @@ -171,12 +171,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"; + return "member"; end - return "restricted"; + return "outcast"; end; };