From 8d92ff25067bb8accb750f0f20a8f17ae030bc71 Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Wed, 8 Aug 2018 20:38:10 +0100 Subject: mod_pep: Remove "subscriber" affiliation in favour of "none" It ended up with identical capabilities to "none", and isn't a standard affiliation defined by XEP-0060 anyway. --- plugins/mod_pep.lua | 24 +----------------------- 1 file changed, 1 insertion(+), 23 deletions(-) (limited to 'plugins/mod_pep.lua') diff --git a/plugins/mod_pep.lua b/plugins/mod_pep.lua index 63cfe562..e416fe8b 100644 --- a/plugins/mod_pep.lua +++ b/plugins/mod_pep.lua @@ -176,28 +176,6 @@ function get_pep_service(username) set_affiliation = false; }; - subscriber = { - create = false; - publish = false; - retract = false; - get_nodes = true; - - subscribe = true; - unsubscribe = true; - get_subscription = true; - get_subscriptions = true; - get_items = true; - - subscribe_other = false; - unsubscribe_other = false; - get_subscription_other = false; - get_subscriptions_other = false; - - be_subscribed = true; - be_unsubscribed = true; - - set_affiliation = false; - }; publisher = { create = false; publish = true; @@ -271,7 +249,7 @@ function get_pep_service(username) access_models = { presence = function (jid) if subscription_presence(username, jid) then - return "subscriber"; + return "none"; end return "restricted"; end; -- cgit v1.2.3