Rename replay → initChannelState
All checks were successful
check / check (push) Successful in 2m20s

Rename the query parameter, function, and all related comments
from 'replay' to 'initChannelState' to better reflect the
semantics: the server initializes channel state for the
reconnecting client rather than replaying past events.
This commit is contained in:
2026-03-09 17:00:52 -07:00
committed by user
parent 096fb2b207
commit 78d657111b
5 changed files with 23 additions and 21 deletions

View File

@@ -182,9 +182,9 @@ func (hdlr *Handlers) handleLogin(
request, clientID, sessionID, payload.Nick,
)
// Replay channel state so the new client knows which
// channels the session already belongs to.
hdlr.replayChannelState(
// Initialize channel state so the new client knows
// which channels the session already belongs to.
hdlr.initChannelState(
request, clientID, sessionID, payload.Nick,
)