diff options
author | Kim Alvefur <zash@zash.se> | 2014-04-20 23:39:45 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2014-04-20 23:39:45 +0200 |
commit | 78485768ee3faccea47511db836410f7fa34c03e (patch) | |
tree | 98ca74d989832843edfb586f3e4c72d65ebd6819 /util/xmppstream.lua | |
parent | c70505a8c46db03728c800f45ff627d555a500a4 (diff) | |
parent | 84ab9b78050508f04edaecdf502d111247ab1c75 (diff) | |
download | prosody-78485768ee3faccea47511db836410f7fa34c03e.tar.gz prosody-78485768ee3faccea47511db836410f7fa34c03e.zip |
Merge 0.10->trunk
Diffstat (limited to 'util/xmppstream.lua')
-rw-r--r-- | util/xmppstream.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/util/xmppstream.lua b/util/xmppstream.lua index 1e65919b..6982aae3 100644 --- a/util/xmppstream.lua +++ b/util/xmppstream.lua @@ -252,6 +252,9 @@ function new(session, stream_callbacks, stanza_size_limit) id = session.streamid or "", from = from or session.host, to = to, }; + if session.stream_attrs then + session:stream_attrs(from, to, attr) + end send("<?xml version='1.0'?>"); send(st.stanza("stream:stream", attr):top_tag()); return true; |