Software /
code /
prosody
Diff
plugins/s2s/mod_s2s.lua @ 4581:d2eb5962d235
mod_s2s: return true when we sent the stanza, or initiated a new s2sout
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 03 Mar 2012 00:14:48 +0100 |
parent | 4580:351936a8de4a |
child | 4584:9a5de6509aa8 |
line wrap: on
line diff
--- a/plugins/s2s/mod_s2s.lua Sat Mar 03 00:03:06 2012 +0100 +++ b/plugins/s2s/mod_s2s.lua Sat Mar 03 00:14:48 2012 +0100 @@ -90,6 +90,7 @@ end host.sends2s(stanza); host.log("debug", "stanza sent over "..host.type); + return true; end end end, 200); @@ -112,6 +113,7 @@ end return false; end + return true; end, 100); --- Helper to check that a session peer's certificate is valid