aboutsummaryrefslogtreecommitdiffstats
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
commit520b9c99abe09968caf3076a46bb6de1b616e41f (patch)
treec3271e7efe571745b734f8c7cbf2b73d8a17789a
parent265dd06777d5f0c286d71bdd3ba39206ff3b8750 (diff)
downloadprosody-520b9c99abe09968caf3076a46bb6de1b616e41f.tar.gz
prosody-520b9c99abe09968caf3076a46bb6de1b616e41f.zip
mod_pubsub: Fix feature advertising of config-node and retrieve-default
It confused pubsub.lib handler names with util.pubsub service methods
-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)