plugins/mod_bosh.lua
changeset 13297 ad1ed84fdf13
parent 13217 50324f66ca2a
child 13464 a688947fab1e
--- a/plugins/mod_bosh.lua	Fri Oct 27 22:38:00 2023 +0200
+++ b/plugins/mod_bosh.lua	Sat Oct 28 13:15:56 2023 +0100
@@ -456,7 +456,7 @@
 
 	if session.notopen then
 		local features = st.stanza("stream:features");
-		module:context(session.host):fire_event("stream-features", { origin = session, features = features });
+		module:context(session.host):fire_event("stream-features", { origin = session, features = features, stream = attr });
 		session.send(features);
 		session.notopen = nil;
 	end