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 | 6ea2c47577027a1821aedd45428b4d24ebde82f6 (patch) | |
tree | 34bfd63b8e7f5c9a7bf4d43fb024544eaeefd4d3 | |
parent | b1f22daa932ac857022412e734533ff05bad1594 (diff) | |
download | prosody-6ea2c47577027a1821aedd45428b4d24ebde82f6.tar.gz prosody-6ea2c47577027a1821aedd45428b4d24ebde82f6.zip |
mod_pubsub: Advertise autocreate_on_publish correctly.
-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" }; |