projects
/
prosody.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd1dc11
)
util.xmppstream: Don't include empty stream ID in stream header (got here from mod_c2s)
author
Kim Alvefur
<zash@zash.se>
Wed, 27 Aug 2014 11:00:04 +0000
(13:00 +0200)
committer
Kim Alvefur
<zash@zash.se>
Wed, 27 Aug 2014 11:00:04 +0000
(13:00 +0200)
util/xmppstream.lua
patch
|
blob
|
history
diff --git
a/util/xmppstream.lua
b/util/xmppstream.lua
index 6982aae30732abac9a8b17afcb5d56892700e7e4..5848e20070e64c48082f56a4441bc37a46769071 100644
(file)
--- a/
util/xmppstream.lua
+++ b/
util/xmppstream.lua
@@
-249,7
+249,7
@@
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
or ""
,
+ id = session.streamid,
from = from or session.host, to = to,
};
if session.stream_attrs then