Mon, 28 Nov 2011 17:16:04 +0100
plugins.pep: Use the new PubSub api.
plugins/pep.lua | file | annotate | diff | comparison | revisions |
--- a/plugins/pep.lua Mon Nov 28 17:15:41 2011 +0100 +++ b/plugins/pep.lua Mon Nov 28 17:16:04 2011 +0100 @@ -27,6 +27,6 @@ end function stream:publish_pep(item, node) - return stream.pubsub:publish(nil, node or item.attr.xmlns, nil, item) + return stream.pubsub:service(nil):node(node or item.attr.xmlns):publish(nil, nil, item) end end