# HG changeset patch # User Matthew Wild # Date 1280823423 -3600 # Node ID 8221f3c25fd4a5dc265cfb276436382d6970e5db # Parent f306c2f8bb8863fb1a394683cc7fe9e4942049d9 verse.client: Add stream_id property diff -r f306c2f8bb88 -r 8221f3c25fd4 client.lua --- a/client.lua Fri Jul 02 13:36:18 2010 +0100 +++ b/client.lua Tue Aug 03 09:17:03 2010 +0100 @@ -19,7 +19,8 @@ default_ns = "jabber:client" }; function stream_callbacks.streamopened(stream, attr) - if not stream:event("opened") then + stream.stream_id = attr.id; + if not stream:event("opened", attr) then stream.notopen = nil; end return true;