Changeset

5304:67a49d47ef39

mod_pubsub: Advertise autocreate_on_publish correctly.
author Kim Alvefur <zash@zash.se>
date Wed, 23 Jan 2013 22:41:18 +0100
parents 5302:52fe5df91c65
children 5305:391b72fede9f
files plugins/mod_pubsub.lua
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/mod_pubsub.lua	Tue Jan 22 08:26:08 2013 +0500
+++ b/plugins/mod_pubsub.lua	Wed Jan 23 22:41:18 2013 +0100
@@ -210,9 +210,9 @@
 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" };