Mercurial > prosody-modules
view mod_conversejs/template.js @ 3634:915e32d5a147
mod_smacks: fix bug for missbehaving clients sending multiple acks in a row
Missbehaving clients, sending multiple acks in a row (I'm looking at you Monal!)
triggered the ack-loop-prevention code added in 2017, leaving unacked stanzas
in the queue. This fixes the bug while still preventing ack-loops.
| author | tmolitor <thilo@eightysoft.de> |
|---|---|
| date | Tue, 30 Jul 2019 02:07:13 +0200 |
| parents | 1921ae4449b8 |
| children |
line wrap: on
line source
if(typeof converse == 'undefined') { var div = document.createElement("div"); var noscript = document.getElementsByTagName("noscript")[0]; div.innerHTML = noscript.innerText; document.body.appendChild(div); } else { converse.initialize(%s); }
