fix(msggateway): preserve client background status

This commit is contained in:
buvidk 2026-07-08 22:03:39 +08:00
parent de0f1eec8a
commit 8629562ab5

View File

@ -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()