diff options
author | Kim Alvefur <zash@zash.se> | 2013-06-02 19:27:45 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2013-06-02 19:27:45 +0200 |
commit | 19f45e83ed793302d6ad65438acfbfb6da742d29 (patch) | |
tree | 8682d1e5655d123e3db62a1c4313216d976053bd /plugins/mod_bosh.lua | |
parent | 953b24c0ca0d5245a54828d4ce4619262f0e80a7 (diff) | |
parent | 323d7007f6b77c219602433f1f179ff642ae7afe (diff) | |
download | prosody-19f45e83ed793302d6ad65438acfbfb6da742d29.tar.gz prosody-19f45e83ed793302d6ad65438acfbfb6da742d29.zip |
Merge 0.9->trunk
Diffstat (limited to 'plugins/mod_bosh.lua')
-rw-r--r-- | plugins/mod_bosh.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_bosh.lua b/plugins/mod_bosh.lua index 57abebb2..0a331f27 100644 --- a/plugins/mod_bosh.lua +++ b/plugins/mod_bosh.lua @@ -346,7 +346,7 @@ function stream_callbacks.streamopened(context, attr) local features = st.stanza("stream:features"); hosts[session.host].events.fire_event("stream-features", { origin = session, features = features }); fire_event("stream-features", session, features); - table.insert(session.send_buffer, tostring(features)); + session.send(tostring(features)); session.notopen = nil; end end |