Software /
code /
prosody
Changeset
9233:885dd6845e62
util.pubsub: Explicitly add all capabilities to the 'outcast' affiliation for completeness
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Fri, 31 Aug 2018 17:49:14 +0200 |
parents | 9232:65c83bfcf2ee |
children | 9234:d00e8ec7ece2 |
files | util/pubsub.lua |
diffstat | 1 files changed, 16 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/util/pubsub.lua Wed Aug 22 13:27:36 2018 +0200 +++ b/util/pubsub.lua Fri Aug 31 17:49:14 2018 +0200 @@ -11,10 +11,26 @@ 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;