mirror of
https://github.com/bjc/prosody.git
synced 2025-04-03 21:27:38 +03:00
util.xmppstream: Ensure stream 'id' is always present (fix #1626)
Backout c2d144d3f8dd
This commit is contained in:
parent
f539be51b3
commit
1f7686a6bd
1 changed files with 1 additions and 1 deletions
|
@ -262,7 +262,7 @@ local function new(session, stream_callbacks, stanza_size_limit)
|
|||
["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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue