diff options
author | Kim Alvefur <zash@zash.se> | 2018-08-31 17:49:14 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-08-31 17:49:14 +0200 |
commit | 59b9a3eb3ff1360980c0a3e14d0c8c78ac11c9b7 (patch) | |
tree | 6050f8abca7c5b10ee535fe2936d7af8daefad2c /util | |
parent | 752ae5a693740b564749180a2b26b5afba23aa9f (diff) | |
download | prosody-59b9a3eb3ff1360980c0a3e14d0c8c78ac11c9b7.tar.gz prosody-59b9a3eb3ff1360980c0a3e14d0c8c78ac11c9b7.zip |
util.pubsub: Explicitly add all capabilities to the 'outcast' affiliation for completeness
Diffstat (limited to 'util')
-rw-r--r-- | util/pubsub.lua | 16 |
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; |