Software /
code /
prosody
Comparison
plugins/mod_pep_plus.lua @ 8331:8df0eaa564f0
mod_pep_plus: Fix feature mapping here too (see 29ef191c7bf9)
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 17 Oct 2017 20:50:59 +0200 |
parent | 8321:73ff49a42ea8 |
child | 8332:e89b57d0d80a |
comparison
equal
deleted
inserted
replaced
8330:8d5c2eef1654 | 8331:8df0eaa564f0 |
---|---|
431 publish = { "publish", service.config.autocreate_on_publish and "auto-create" }; | 431 publish = { "publish", service.config.autocreate_on_publish and "auto-create" }; |
432 delete = { "delete-nodes" }; | 432 delete = { "delete-nodes" }; |
433 get_items = { "retrieve-items" }; | 433 get_items = { "retrieve-items" }; |
434 add_subscription = { "subscribe" }; | 434 add_subscription = { "subscribe" }; |
435 get_subscriptions = { "retrieve-subscriptions" }; | 435 get_subscriptions = { "retrieve-subscriptions" }; |
436 set_configure = { "config-node" }; | 436 set_node_config = { "config-node" }; |
437 get_default = { "retrieve-default" }; | 437 node_defaults = { "retrieve-default" }; |
438 }; | 438 }; |
439 | 439 |
440 for method, features in pairs(feature_map) do | 440 for method, features in pairs(feature_map) do |
441 if service[method] then | 441 if service[method] then |
442 for _, feature in ipairs(features) do | 442 for _, feature in ipairs(features) do |