diff options
Diffstat (limited to 'plugins/mod_pubsub')
-rw-r--r-- | plugins/mod_pubsub/pubsub.lib.lua | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/plugins/mod_pubsub/pubsub.lib.lua b/plugins/mod_pubsub/pubsub.lib.lua index 1ffe45d3..c9ebfdb4 100644 --- a/plugins/mod_pubsub/pubsub.lib.lua +++ b/plugins/mod_pubsub/pubsub.lib.lua @@ -88,6 +88,7 @@ local service_method_feature_map = { purge = { "purge-nodes" }; retract = { "delete-items", "retract-items" }; set_node_config = { "config-node" }; + -- TODO -- set_affiliation = { "modify-affiliations" }; }; local service_config_feature_map = { autocreate_on_publish = { "auto-create" }; @@ -453,6 +454,14 @@ function handlers.owner_get_default(origin, stanza, default, service) -- luachec return true; end +--[[ TODO +function handlers.owner_get_affiliations(origin, stanza, affiliations, service) +end + +function handlers.owner_set_affiliations(origin, stanza, affiliations, service) +end +--]] + local function create_encapsulating_item(id, payload) local item = st.stanza("item", { id = id, xmlns = xmlns_pubsub }); item:add_child(payload); |