aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-08-31 17:49:14 +0200
committerKim Alvefur <zash@zash.se>2018-08-31 17:49:14 +0200
commita60bb9bb13b62dea42d977447e41fe9214c52caf (patch)
tree6050f8abca7c5b10ee535fe2936d7af8daefad2c /util
parentdf5360e6a3d12aa88a077ec92bb9b85ca8f1a5ec (diff)
downloadprosody-a60bb9bb13b62dea42d977447e41fe9214c52caf.tar.gz
prosody-a60bb9bb13b62dea42d977447e41fe9214c52caf.zip
util.pubsub: Explicitly add all capabilities to the 'outcast' affiliation for completeness
Diffstat (limited to 'util')
-rw-r--r--util/pubsub.lua16
1 files changed, 16 insertions, 0 deletions
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;