equal
deleted
inserted
replaced
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" }; |