Software /
code /
verse
File
util/sasl/anonymous.lua @ 450:e72deac76e0e
plugins.smacks: Change to track enabled state per direction
Counting outgoing stanzas should start after <enable> is sent, while
counting incoming stanzas should star after receiving <enabled/>
This should also help with failed resumptions
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 19 Feb 2022 15:57:24 +0100 |
parent | 358:a8f6fd6a70ed |
line wrap: on
line source
return function (stream, name) if name == "ANONYMOUS" then return function () return coroutine.yield() == "success"; end, 0; end end