Software / code / prosody
File
plugins/mod_unknown.lua @ 12071:85c8fcb4192e
mod_c2s: Fire pre-closing event regardless of connected state
With mod_smacks, a session can outlive the connection, so whether the
event is fired should not hinge on whether the session is connected or
not.
Helps mod_smacks remove some state.
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Sat, 18 Dec 2021 13:43:57 +0100 |
| parent | 6003:28a90f5fea46 |
line wrap: on
line source
-- Unknown platform stub module:set_global(); -- TODO Do things that make sense if we don't know about the platform