aboutsummaryrefslogtreecommitdiffstats
path: root/lua/life.lua
diff options
context:
space:
mode:
authorelioat <elioat@tilde.institute>2025-11-15 21:47:54 -0500
committerelioat <elioat@tilde.institute>2025-11-15 21:47:54 -0500
commit1ec6fdbe7fbb3fec37f99b063e779d5f375cd319 (patch)
treeb56582ab7bfa0a3426bae042137fccf11dcdcf31 /lua/life.lua
parent392b8ecc1130b8af76aa09769c02920f50b4944f (diff)
downloadtour-1ec6fdbe7fbb3fec37f99b063e779d5f375cd319.tar.gz
Fix: Properly broadcast leave messages and add delay for graceful shutdown
Two fixes: 1. Add 500ms delay after sending ClientLeave so the message can propagate 2. Display UserLeaveMessage to local client when peer leaves (false case) Now when a user types /quit or /leave: - ClientLeave message is sent to registry - Registry broadcasts UserLeaveMessage to all peers - All connected peers see the leave notification - Process exits cleanly after giving messages time to propagate
Diffstat (limited to 'lua/life.lua')
0 files changed, 0 insertions, 0 deletions