aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_pubsub/pubsub.lib.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-08-18 14:38:49 +0200
committerKim Alvefur <zash@zash.se>2018-08-18 14:38:49 +0200
commit06ea54fb49dcaac5d4f8a781a31f4daf3e857aac (patch)
tree709c026c6dae4caad5954f27805d656b186e99e5 /plugins/mod_pubsub/pubsub.lib.lua
parenta2129ff5ab8af7b08d0a2adfa49e162d8f3e0622 (diff)
downloadprosody-06ea54fb49dcaac5d4f8a781a31f4daf3e857aac.tar.gz
prosody-06ea54fb49dcaac5d4f8a781a31f4daf3e857aac.zip
mod_pubsub: Advertise support for subscription-options
Initial support was added in d614003a82c1
Diffstat (limited to 'plugins/mod_pubsub/pubsub.lib.lua')
-rw-r--r--plugins/mod_pubsub/pubsub.lib.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_pubsub/pubsub.lib.lua b/plugins/mod_pubsub/pubsub.lib.lua
index 41ec59d9..b0974530 100644
--- a/plugins/mod_pubsub/pubsub.lib.lua
+++ b/plugins/mod_pubsub/pubsub.lib.lua
@@ -232,7 +232,7 @@ local function check_preconditions(node_config, required_config)
end
local service_method_feature_map = {
- add_subscription = { "subscribe" };
+ add_subscription = { "subscribe", "subscription-options" };
create = { "create-nodes", "instant-nodes", "item-ids", "create-and-configure" };
delete = { "delete-nodes" };
get_items = { "retrieve-items" };