Software /
code /
prosody
Comparison
plugins/mod_pubsub/mod_pubsub.lua @ 6441:bcb1ea9047d3
mod_pubsub: Add support for requesting default node configuration
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 28 Sep 2014 01:55:32 +0200 |
parent | 6440:9619809bf50b |
child | 6442:0f4025abbe8f |
child | 6446:011ca9b88179 |
comparison
equal
deleted
inserted
replaced
6440:9619809bf50b | 6441:bcb1ea9047d3 |
---|---|
63 delete = { "delete-nodes" }; | 63 delete = { "delete-nodes" }; |
64 get_items = { "retrieve-items" }; | 64 get_items = { "retrieve-items" }; |
65 add_subscription = { "subscribe" }; | 65 add_subscription = { "subscribe" }; |
66 get_subscriptions = { "retrieve-subscriptions" }; | 66 get_subscriptions = { "retrieve-subscriptions" }; |
67 set_configure = { "config-node" }; | 67 set_configure = { "config-node" }; |
68 get_default = { "retrieve-default" }; | |
68 }; | 69 }; |
69 | 70 |
70 local function add_disco_features_from_service(service) | 71 local function add_disco_features_from_service(service) |
71 for method, features in pairs(feature_map) do | 72 for method, features in pairs(feature_map) do |
72 if service[method] then | 73 if service[method] then |