# HG changeset patch # User Kim Alvefur # Date 1322496964 -3600 # Node ID 00891a67563443fb56c3958d2f18bbf57d69800a # Parent c4b55b0dc6ba37c97864685fb87ca37392b57744 plugins.pep: Use the new PubSub api. diff -r c4b55b0dc6ba -r 00891a675634 plugins/pep.lua --- 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