# HG changeset patch # User Matthew Wild # Date 1665758602 -3600 # Node ID 54c6b4595f869f9ade3cc106dc8507127cfdbbcc # Parent 74145faceba25c1458a22e15a9528273c51b9bee mod_sasl2: Forward stream attributes into sub-event diff -r 74145faceba2 -r 54c6b4595f86 mod_sasl2/mod_sasl2.lua --- a/mod_sasl2/mod_sasl2.lua Fri Oct 14 14:44:27 2022 +0100 +++ b/mod_sasl2/mod_sasl2.lua Fri Oct 14 15:43:22 2022 +0100 @@ -95,7 +95,7 @@ features:add_direct_child(mechanisms); local inline = st.stanza("inline"); - module:fire_event("advertise-sasl-features", { origin = origin, features = inline }); + module:fire_event("advertise-sasl-features", { origin = origin, features = inline, stream = event.stream }); mechanisms:add_direct_child(inline); end, 1);