# HG changeset patch # User Kim Alvefur # Date 1612365283 -3600 # Node ID ebbf8dca33d2158b634aa40fa3cf99879340a888 # Parent 8cb2a64b15da750e70f8a880d01d076f8589e781 util.xmppstream: Ensure stream 'id' is always present (fix #1626) Backout c2d144d3f8dd diff -r 8cb2a64b15da -r ebbf8dca33d2 util/xmppstream.lua --- a/util/xmppstream.lua Tue Feb 02 22:16:20 2021 +0100 +++ b/util/xmppstream.lua Wed Feb 03 16:14:43 2021 +0100 @@ -262,7 +262,7 @@ ["xml:lang"] = "en", xmlns = stream_callbacks.default_ns, version = session.version and (session.version > 0 and "1.0" or nil), - id = session.streamid, + id = session.streamid or "", from = from or session.host, to = to, }; if session.stream_attrs then