diff options
author | Kim Alvefur <zash@zash.se> | 2013-01-23 22:41:18 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2013-01-23 22:41:18 +0100 |
commit | 0a3ffba7ba6c1784c3a41bdc73946510e4ad20a6 (patch) | |
tree | 34bfd63b8e7f5c9a7bf4d43fb024544eaeefd4d3 /plugins | |
parent | 4808daf39fd7b3d3de0e2c25e871dcbacbed1299 (diff) | |
download | prosody-0a3ffba7ba6c1784c3a41bdc73946510e4ad20a6.tar.gz prosody-0a3ffba7ba6c1784c3a41bdc73946510e4ad20a6.zip |
mod_pubsub: Advertise autocreate_on_publish correctly.
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_pubsub.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/mod_pubsub.lua b/plugins/mod_pubsub.lua index 40b119cc..f0aa4e4f 100644 --- a/plugins/mod_pubsub.lua +++ b/plugins/mod_pubsub.lua @@ -210,9 +210,9 @@ module:hook("iq/host/http://jabber.org/protocol/pubsub:pubsub", handle_pubsub_iq local disco_info; local feature_map = { - create = { "create-nodes", autocreate_on_publish and "instant-nodes", "item-ids" }; + create = { "create-nodes", "instant-nodes", "item-ids" }; retract = { "delete-items", "retract-items" }; - publish = { "publish" }; + publish = { "publish", autocreate_on_publish and "auto-create" }; get_items = { "retrieve-items" }; add_subscription = { "subscribe" }; get_subscriptions = { "retrieve-subscriptions" }; |