Software /
code /
prosody
Changeset
12060:3099e03b10bd
mod_smacks: Fix indentation
Meld keeps messing up indentation when I merge and rebase...
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 16 Dec 2021 22:42:08 +0100 |
parents | 12059:70a55fbe447c |
children | 12061:31a7e0ac6928 |
files | plugins/mod_smacks.lua |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/mod_smacks.lua Thu Dec 16 16:02:01 2021 +0100 +++ b/plugins/mod_smacks.lua Thu Dec 16 22:42:08 2021 +0100 @@ -421,12 +421,12 @@ module:hook("pre-resource-unbind", function (event) local session = event.session; if not session.smacks then return end - if not session.resumption_token then - local queue = session.outgoing_stanza_queue; + if not session.resumption_token then + local queue = session.outgoing_stanza_queue; if queue:count_unacked() > 0 then session.log("debug", "Destroying session with %d unacked stanzas", queue:count_unacked()); - handle_unacked_stanzas(session); - end + handle_unacked_stanzas(session); + end return end