Changeset

6355:c2d144d3f8dd

util.xmppstream: Don't include empty stream ID in stream header (got here from mod_c2s)
author Kim Alvefur <zash@zash.se>
date Wed, 27 Aug 2014 13:00:04 +0200
parents 6353:a868d5d6a83f
children 6367:769a3577dd85
files util/xmppstream.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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