plugins/mod_pubsub/mod_pubsub.lua
changeset 8340 dc4ea43ac463
parent 8337 036e46d12b78
child 8342 4fce6bc0719f
equal deleted inserted replaced
8339:587305c0ff85 8340:dc4ea43ac463
    60 
    60 
    61 module:hook("iq/host/"..xmlns_pubsub..":pubsub", handle_pubsub_iq);
    61 module:hook("iq/host/"..xmlns_pubsub..":pubsub", handle_pubsub_iq);
    62 module:hook("iq/host/"..xmlns_pubsub_owner..":pubsub", handle_pubsub_iq);
    62 module:hook("iq/host/"..xmlns_pubsub_owner..":pubsub", handle_pubsub_iq);
    63 
    63 
    64 local feature_map = {
    64 local feature_map = {
    65 	create = { "create-nodes", "instant-nodes", "item-ids" };
    65 	create = { "create-nodes", "instant-nodes", "item-ids", "create-and-configure" };
    66 	retract = { "delete-items", "retract-items" };
    66 	retract = { "delete-items", "retract-items" };
    67 	purge = { "purge-nodes" };
    67 	purge = { "purge-nodes" };
    68 	publish = { "publish", autocreate_on_publish and "auto-create" };
    68 	publish = { "publish", autocreate_on_publish and "auto-create" };
    69 	delete = { "delete-nodes" };
    69 	delete = { "delete-nodes" };
    70 	get_items = { "retrieve-items" };
    70 	get_items = { "retrieve-items" };