rename replay query parameter to initChannelState
Some checks failed
check / check (push) Has been cancelled
Some checks failed
check / check (push) Has been cancelled
Rename ?replay=1 to ?initChannelState=1 across server, SPA, and docs per review feedback: the parameter initialises fresh channel state rather than replaying past state. - Rename replayChannelState() to initChannelState() - Update query parameter check in HandleState - Update SPA fetch URL and comments - Update README documentation and curl examples
This commit is contained in:
@@ -182,9 +182,9 @@ func (hdlr *Handlers) handleLogin(
|
||||
request, clientID, sessionID, payload.Nick,
|
||||
)
|
||||
|
||||
// Replay channel state so the new client knows which
|
||||
// Init channel state so the new client knows which
|
||||
// channels the session already belongs to.
|
||||
hdlr.replayChannelState(
|
||||
hdlr.initChannelState(
|
||||
request, clientID, sessionID, payload.Nick,
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user