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 | 906209db71d1948bbda63406061e7969ee07d6fc (patch) | |
tree | 8682d1e5655d123e3db62a1c4313216d976053bd /plugins/mod_bosh.lua | |
parent | 8d85647c37f3b1fd49e0d639d5646745672391bd (diff) | |
parent | 280227fdb28ce774b5e838f5db18da985710ebd8 (diff) | |
download | prosody-906209db71d1948bbda63406061e7969ee07d6fc.tar.gz prosody-906209db71d1948bbda63406061e7969ee07d6fc.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 |