From 81a908f83879c4f7ae920aeda3c6e02c4c03db3f Mon Sep 17 00:00:00 2001 From: kim Date: Mon, 14 Apr 2025 13:03:32 +0100 Subject: [PATCH] wording --- internal/api/client/streaming/stream.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)