Software /
code /
prosody-modules
Changeset
1526:120817435151
mod_smacks: Fix sending ack requests on s2s
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 20 Oct 2014 11:51:07 +0200 |
parents | 1525:37cef218ba20 |
children | 1527:06ecc5b3ca46 |
files | mod_smacks/mod_smacks.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_smacks/mod_smacks.lua Wed Oct 15 11:37:39 2014 +0200 +++ b/mod_smacks/mod_smacks.lua Mon Oct 20 11:51:07 2014 +0200 @@ -89,7 +89,7 @@ module:add_timer(0, function () if not session.awaiting_ack then session.awaiting_ack = true; - session.send(st.stanza("r", { xmlns = session.smacks })); + (session.sends2s or session.send)(st.stanza("r", { xmlns = session.smacks })); end end); end