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
commitc6b4e592cf6c951464c5940bd33a02a87a875316 (patch)
tree709c026c6dae4caad5954f27805d656b186e99e5 /plugins/mod_pubsub/pubsub.lib.lua
parent0eed3a65c468fea1401869b50c171f2d51a54b0e (diff)
downloadprosody-c6b4e592cf6c951464c5940bd33a02a87a875316.tar.gz
prosody-c6b4e592cf6c951464c5940bd33a02a87a875316.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" };