aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_pubsub.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2013-01-23 22:41:18 +0100
committerKim Alvefur <zash@zash.se>2013-01-23 22:41:18 +0100
commit0a3ffba7ba6c1784c3a41bdc73946510e4ad20a6 (patch)
tree34bfd63b8e7f5c9a7bf4d43fb024544eaeefd4d3 /plugins/mod_pubsub.lua
parent4808daf39fd7b3d3de0e2c25e871dcbacbed1299 (diff)
downloadprosody-0a3ffba7ba6c1784c3a41bdc73946510e4ad20a6.tar.gz
prosody-0a3ffba7ba6c1784c3a41bdc73946510e4ad20a6.zip
mod_pubsub: Advertise autocreate_on_publish correctly.
Diffstat (limited to 'plugins/mod_pubsub.lua')
-rw-r--r--plugins/mod_pubsub.lua4
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" };