From 59b9a3eb3ff1360980c0a3e14d0c8c78ac11c9b7 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Fri, 31 Aug 2018 17:49:14 +0200 Subject: util.pubsub: Explicitly add all capabilities to the 'outcast' affiliation for completeness --- util/pubsub.lua | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'util') diff --git a/util/pubsub.lua b/util/pubsub.lua index 6dd824cb..7b29bb3d 100644 --- a/util/pubsub.lua +++ b/util/pubsub.lua @@ -11,10 +11,26 @@ local default_config = { normalize_jid = function (jid) return jid; end; capabilities = { outcast = { + create = false; + publish = false; + retract = false; + get_nodes = false; + + subscribe = false; + unsubscribe = false; get_subscription = true; get_subscriptions = true; + get_items = false; + + subscribe_other = false; + unsubscribe_other = false; + get_subscription_other = false; + get_subscriptions_other = false; + be_subscribed = false; be_unsubscribed = true; + + set_affiliation = false; }; none = { create = false; -- cgit v1.2.3