aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2010-12-22 03:49:23 +0000
committerMatthew Wild <mwild1@gmail.com>2010-12-22 03:49:23 +0000
commit85236d58c98aec549e587597f0d7e866f4404161 (patch)
treeebf281c70aff7dcff9a389ab8aae5340607ec51b
parent174bc06147e6d263e1e2b2c348beefd3e7e42ef9 (diff)
downloadprosody-85236d58c98aec549e587597f0d7e866f4404161.tar.gz
prosody-85236d58c98aec549e587597f0d7e866f4404161.zip
mod_pubsub: Add get_subscriptions and get_subscriptions_other capabilities to default affiliations
-rw-r--r--plugins/mod_pubsub.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/mod_pubsub.lua b/plugins/mod_pubsub.lua
index 09845962..bb2f0059 100644
--- a/plugins/mod_pubsub.lua
+++ b/plugins/mod_pubsub.lua
@@ -292,11 +292,13 @@ set_service(pubsub.new({
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;
@@ -312,12 +314,14 @@ set_service(pubsub.new({
subscribe = true;
unsubscribe = true;
get_subscription = true;
+ get_subscriptions = true;
get_items = true;
subscribe_other = true;
unsubscribe_other = true;
get_subscription_other = true;
+ get_subscriptions_other = true;
be_subscribed = true;
be_unsubscribed = true;