# HG changeset patch # User Kim Alvefur # Date 1409137204 -7200 # Node ID c2d144d3f8dddb7ec04ac4af4da93740d6f5c74e # Parent a868d5d6a83f2b5883c94905508939f89c745754 util.xmppstream: Don't include empty stream ID in stream header (got here from mod_c2s) diff -r a868d5d6a83f -r c2d144d3f8dd util/xmppstream.lua --- a/util/xmppstream.lua Wed Aug 13 19:19:34 2014 +0200 +++ b/util/xmppstream.lua Wed Aug 27 13:00:04 2014 +0200 @@ -249,7 +249,7 @@ ["xml:lang"] = "en", xmlns = stream_callbacks.default_ns, version = session.version and (session.version > 0 and "1.0" or nil), - id = session.streamid or "", + id = session.streamid, from = from or session.host, to = to, }; if session.stream_attrs then