--- a/plugins/mod_s2s/mod_s2s.lua Wed May 13 21:55:08 2015 +0200
+++ b/plugins/mod_s2s/mod_s2s.lua Wed May 13 21:56:22 2015 +0200
@@ -349,6 +349,7 @@
end
session:open_stream(session.to_host, session.from_host)
+ session.notopen = nil;
if session.version >= 1.0 then
local features = st.stanza("stream:features");
@@ -361,7 +362,6 @@
log("debug", "Sending stream features: %s", tostring(features));
session.sends2s(features);
end
- session.notopen = nil;
elseif session.direction == "outgoing" then
session.notopen = nil;
if not attr.id then