Software /
code /
prosody
Diff
plugins/s2s/mod_s2s.lua @ 4584:9a5de6509aa8
mod_s2s, mod_dialback: Event on pre-XMPP streams, so we can try dialback.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 03 Mar 2012 01:35:39 +0100 |
parent | 4581:d2eb5962d235 |
child | 4586:4d63852910ff |
line wrap: on
line diff
--- a/plugins/s2s/mod_s2s.lua Sat Mar 03 00:54:19 2012 +0100 +++ b/plugins/s2s/mod_s2s.lua Sat Mar 03 01:35:39 2012 +0100 @@ -233,7 +233,7 @@ if session.version < 1.0 then if not session.dialback_verifying then log("debug", "Initiating dialback..."); - initiate_dialback(session); + hosts[session.from_host].events.fire_event("s2s-no-stream-features", { origin = session }); else s2s_mark_connected(session); end