changeset 4803 | 39ba097ec641 |
parent 4757 | 5fb68e68ba0b |
child 4805 | 1aeece2cc814 |
--- a/plugins/mod_component.lua Sun Apr 29 21:20:35 2012 +0100 +++ b/plugins/mod_component.lua Mon Apr 30 00:42:02 2012 +0100 @@ -158,6 +158,7 @@ session.streamid = uuid_gen(); session.notopen = nil; -- Return stream header + session.send("<?xml version='1.0'?>"); session.send(st.stanza("stream:stream", { xmlns=xmlns_component, ["xmlns:stream"]='http://etherx.jabber.org/streams', id=session.streamid, from=session.host }):top_tag()); end