diff --git a/internal/api/client/streaming/stream.go b/internal/api/client/streaming/stream.go index 82675faa0..1cba58916 100644 --- a/internal/api/client/streaming/stream.go +++ b/internal/api/client/streaming/stream.go @@ -163,8 +163,8 @@ func (m *Module) StreamGETHandler(c *gin.Context) { // correct, but some client do it since Mastodon allows it, so // we must allow it for compatibility. // - // Chrome browser also *always* expects the "Sec-Websocket-Protocol" - // response value to match input, so we always have to check it. + // Chrome also *always* expects the "Sec-Websocket-Protocol" + // response value to match input, so it must always be checked. queryToken := c.Query(AccessTokenQueryKey) headerToken := c.Query(AccessTokenHeader)