# HG changeset patch # User Matthew Wild # Date 1266366294 0 # Node ID abccad4b8559a431ba6c81e2347bc8138a19aad0 # Parent 3ebffb4fc48cd170a5bf08493f31f8b7bfae3be5 verse.client: Update stream_callbacks format for new xmlhandlers API (thanks to Bill Clark for the patch) diff -r 3ebffb4fc48c -r abccad4b8559 client.lua --- a/client.lua Mon Jan 25 22:07:25 2010 +0000 +++ b/client.lua Wed Feb 17 00:24:54 2010 +0000 @@ -13,8 +13,10 @@ local xmlns_stream = "http://etherx.jabber.org/streams"; -local stream_callbacks = { stream_tag = xmlns_stream.."\1stream", - default_ns = "jabber:client" }; +local stream_callbacks = { + stream_ns = xmlns_stream, + stream_tag = "stream", + default_ns = "jabber:client" }; function stream_callbacks.streamopened(stream, attr) if not stream:event("opened") then