diff options
author | Matthew Wild <mwild1@gmail.com> | 2021-11-12 13:30:39 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2021-11-12 13:30:39 +0000 |
commit | 30ef01a6cceb7e7acdfa9ff0be8733db8fe0dafd (patch) | |
tree | 5a84b0f1dc57661ac0d327b6a274c4c27492952b /net/server_select.lua | |
parent | 1a64d5d876c401c2002c413d0ecf84c534196f81 (diff) | |
download | prosody-30ef01a6cceb7e7acdfa9ff0be8733db8fe0dafd.tar.gz prosody-30ef01a6cceb7e7acdfa9ff0be8733db8fe0dafd.zip |
s2smanager: Fire s2s-destroyed event to mirror s2s-created
The existing events do not fire for unauthed sessions, for example (because
the type does not match). I deemed changing their behaviour too risky, and
the current behaviour may even be more desirable for some uses.
This means we now have roughly paired events:
- s2s-created -> s2s-destroyed (global only)
- s2sin-established -> s2sin-destroyed (global + host)
- s2sout-established -> s2sout-destroyed (global + host)
Diffstat (limited to 'net/server_select.lua')
0 files changed, 0 insertions, 0 deletions