aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_pubsub
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-10-17 03:43:57 +0200
committerKim Alvefur <zash@zash.se>2017-10-17 03:43:57 +0200
commit10973228002aef47a2679bc20f56b5f32295fbaf (patch)
treec3271e7efe571745b734f8c7cbf2b73d8a17789a /plugins/mod_pubsub
parent3c4d4322b36db74281937fa71d8571608cb795a9 (diff)
downloadprosody-10973228002aef47a2679bc20f56b5f32295fbaf.tar.gz
prosody-10973228002aef47a2679bc20f56b5f32295fbaf.zip
mod_pubsub: Fix feature advertising of config-node and retrieve-default
It confused pubsub.lib handler names with util.pubsub service methods
Diffstat (limited to 'plugins/mod_pubsub')
-rw-r--r--plugins/mod_pubsub/mod_pubsub.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/mod_pubsub/mod_pubsub.lua b/plugins/mod_pubsub/mod_pubsub.lua
index c7e163ee..b1418ff9 100644
--- a/plugins/mod_pubsub/mod_pubsub.lua
+++ b/plugins/mod_pubsub/mod_pubsub.lua
@@ -81,8 +81,8 @@ local feature_map = {
get_items = { "retrieve-items" };
add_subscription = { "subscribe" };
get_subscriptions = { "retrieve-subscriptions" };
- set_configure = { "config-node" };
- get_default = { "retrieve-default" };
+ set_node_config = { "config-node" };
+ node_defaults = { "retrieve-default" };
};
local function add_disco_features_from_service(service)