aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_pubsub.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2010-12-22 03:48:51 +0000
committerMatthew Wild <mwild1@gmail.com>2010-12-22 03:48:51 +0000
commit174bc06147e6d263e1e2b2c348beefd3e7e42ef9 (patch)
tree4a502bd9ce4a18f13c0d7d055b9e61b925cd39bd /plugins/mod_pubsub.lua
parent272ea7b6d19e154a9a1bb11fa825d6c7b43f9d37 (diff)
downloadprosody-174bc06147e6d263e1e2b2c348beefd3e7e42ef9.tar.gz
prosody-174bc06147e6d263e1e2b2c348beefd3e7e42ef9.zip
mod_pubsub: Add add_subscription and get_subscriptions to feature_map
Diffstat (limited to 'plugins/mod_pubsub.lua')
-rw-r--r--plugins/mod_pubsub.lua2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/mod_pubsub.lua b/plugins/mod_pubsub.lua
index 0cc34490..09845962 100644
--- a/plugins/mod_pubsub.lua
+++ b/plugins/mod_pubsub.lua
@@ -187,6 +187,8 @@ local feature_map = {
retract = { "delete-items", "retract-items" };
publish = { "publish" };
get_items = { "retrieve-items" };
+ add_subscription = { "subscribe" };
+ get_subscriptions = { "retrieve-subscriptions" };
};
local function add_disco_features_from_service(disco, service)