Software /
code /
prosody
Diff
plugins/mod_pubsub/mod_pubsub.lua @ 8337:dc4ea43ac463
mod_pubsub: Add support for Create and Configure
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 18 Oct 2017 09:08:16 +0200 |
parent | 8334:036e46d12b78 |
child | 8339:4fce6bc0719f |
line wrap: on
line diff
--- a/plugins/mod_pubsub/mod_pubsub.lua Wed Oct 18 07:49:44 2017 +0200 +++ b/plugins/mod_pubsub/mod_pubsub.lua Wed Oct 18 09:08:16 2017 +0200 @@ -62,7 +62,7 @@ module:hook("iq/host/"..xmlns_pubsub_owner..":pubsub", handle_pubsub_iq); local feature_map = { - create = { "create-nodes", "instant-nodes", "item-ids" }; + create = { "create-nodes", "instant-nodes", "item-ids", "create-and-configure" }; retract = { "delete-items", "retract-items" }; purge = { "purge-nodes" }; publish = { "publish", autocreate_on_publish and "auto-create" };