From 8629562ab56e9a62d82198cdc7b3328073b98859 Mon Sep 17 00:00:00 2001 From: buvidk <1532493290@qq.com> Date: Wed, 8 Jul 2026 22:03:39 +0800 Subject: [PATCH] fix(msggateway): preserve client background status --- internal/msggateway/client.go | 1 - 1 file changed, 1 deletion(-) diff --git a/internal/msggateway/client.go b/internal/msggateway/client.go index 74b874e95..c767c8c6e 100644 --- a/internal/msggateway/client.go +++ b/internal/msggateway/client.go @@ -91,7 +91,6 @@ func (c *Client) ResetClient(ctx *UserConnContext, conn ClientConn, longConnServ c.UserID = ctx.GetUserID() c.ctx = ctx c.longConnServer = longConnServer - c.IsBackground = false c.closed.Store(false) c.closedErr = nil c.token = ctx.GetToken()