From 31778c9cdf9db5e67f893fe0e8a05d3df32282e6 Mon Sep 17 00:00:00 2001 From: wangchuxiao Date: Wed, 12 Jul 2023 12:03:53 +0800 Subject: [PATCH] fix kick user bug --- internal/rpc/auth/auth.go | 1 - 1 file changed, 1 deletion(-) diff --git a/internal/rpc/auth/auth.go b/internal/rpc/auth/auth.go index b70e35f5b..79303e731 100644 --- a/internal/rpc/auth/auth.go +++ b/internal/rpc/auth/auth.go @@ -112,7 +112,6 @@ func (s *authServer) forceKickOff(ctx context.Context, userID string, platformID client := msggateway.NewMsgGatewayClient(v) kickReq := &msggateway.KickUserOfflineReq{KickUserIDList: []string{userID}, PlatformID: platformID} _, err := client.KickUserOffline(ctx, kickReq) - s.RegisterCenter.CloseConn(v) return utils.Wrap(err, "") } return errs.ErrInternalServer.Wrap()