Wed, 17 Feb 2010 00:24:54 +0000
verse.client: Update stream_callbacks format for new xmlhandlers API (thanks to Bill Clark for the patch)
client.lua | file | annotate | diff | comparison | revisions |
--- 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