Software /
code /
prosody
Diff
plugins/mod_pubsub.lua @ 3939:b66e9a7593b6
mod_pubsub: Add add_subscription and get_subscriptions to feature_map
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Wed, 22 Dec 2010 03:48:51 +0000 |
parent | 3935:2733b56f23b0 |
child | 3940:d55e67e4191a |
line wrap: on
line diff
--- a/plugins/mod_pubsub.lua Wed Dec 22 03:46:32 2010 +0000 +++ b/plugins/mod_pubsub.lua Wed Dec 22 03:48:51 2010 +0000 @@ -187,6 +187,8 @@ 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)