Software /
code /
prosody
Changeset
5658:97c1c1bdd7bc
mod_bosh: Don't tostring() stream:features when passing to session.send().
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Fri, 07 Jun 2013 16:26:08 -0400 |
parents | 5657:7957f14038e8 |
children | 5659:9f9de8078164 |
files | plugins/mod_bosh.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_bosh.lua Fri Jun 07 20:59:43 2013 +0200 +++ b/plugins/mod_bosh.lua Fri Jun 07 16:26:08 2013 -0400 @@ -352,7 +352,7 @@ local features = st.stanza("stream:features"); hosts[session.host].events.fire_event("stream-features", { origin = session, features = features }); fire_event("stream-features", session, features); - session.send(tostring(features)); + session.send(features); session.notopen = nil; end end