aboutsummaryrefslogtreecommitdiff
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
commitb816ec8b4704dbee04f73b70cc9ec1e674802216 (patch)
tree891d73bf82f73e10d5533f205f344f1530e8aff3
parent87fb6d6ae5b01ea0f1c8b26d619d53c33509cc85 (diff)
downloadprosody-im-server-b816ec8b4704dbee04f73b70cc9ec1e674802216.zip
prosody-im-server-b816ec8b4704dbee04f73b70cc9ec1e674802216.tar
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)