aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
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
commit6ea2c47577027a1821aedd45428b4d24ebde82f6 (patch)
tree34bfd63b8e7f5c9a7bf4d43fb024544eaeefd4d3 /plugins
parentb1f22daa932ac857022412e734533ff05bad1594 (diff)
downloadprosody-6ea2c47577027a1821aedd45428b4d24ebde82f6.tar.gz
prosody-6ea2c47577027a1821aedd45428b4d24ebde82f6.zip
mod_pubsub: Advertise autocreate_on_publish correctly.
Diffstat (limited to 'plugins')
-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" };