aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/s2s
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2012-03-03 01:35:39 +0100
committerKim Alvefur <zash@zash.se>2012-03-03 01:35:39 +0100
commit71528cdc3726be326d6a0afb76f490b7d3c4fcc6 (patch)
tree7cb9f1430765b87af8e34951d82f326bb892290e /plugins/s2s
parentf886be3d2c699f58a84b37c2ec51cdd14ebf6fe7 (diff)
downloadprosody-71528cdc3726be326d6a0afb76f490b7d3c4fcc6.tar.gz
prosody-71528cdc3726be326d6a0afb76f490b7d3c4fcc6.zip
mod_s2s, mod_dialback: Event on pre-XMPP streams, so we can try dialback.
Diffstat (limited to 'plugins/s2s')
-rw-r--r--plugins/s2s/mod_s2s.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/s2s/mod_s2s.lua b/plugins/s2s/mod_s2s.lua
index de3ad4e1..9ab2ee0a 100644
--- a/plugins/s2s/mod_s2s.lua
+++ b/plugins/s2s/mod_s2s.lua
@@ -233,7 +233,7 @@ function stream_callbacks.streamopened(session, attr)
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