diff -r a629b953780c -r 8ab81c304073 clix/publish_atom.lua --- a/clix/publish_atom.lua Sat Aug 11 09:25:11 2012 +0200 +++ b/clix/publish_atom.lua Fri Aug 17 17:29:21 2012 +0200 @@ -18,7 +18,6 @@ return 0; end local function on_connect(conn) - conn:add_plugin"pubsub"; -- Required: id, title, updated, author (which must have a name) local entry_id = opts.entry_id or ("clix-"..new_uuid()); local atom_entry = verse.stanza("entry", { xmlns="http://www.w3.org/2005/Atom" }) @@ -43,5 +42,5 @@ --conn:send(verse.message({ to = opts.to, type = "chat" }) :body(text)); end - clix_connect(opts, on_connect); + clix_connect(opts, on_connect, {"pubsub"}); end