fix kick user bug

test-v3dev1^2
wangchuxiao 1 year ago
parent 20bb77f0f7
commit 31778c9cdf

@ -112,7 +112,6 @@ func (s *authServer) forceKickOff(ctx context.Context, userID string, platformID
client := msggateway.NewMsgGatewayClient(v) client := msggateway.NewMsgGatewayClient(v)
kickReq := &msggateway.KickUserOfflineReq{KickUserIDList: []string{userID}, PlatformID: platformID} kickReq := &msggateway.KickUserOfflineReq{KickUserIDList: []string{userID}, PlatformID: platformID}
_, err := client.KickUserOffline(ctx, kickReq) _, err := client.KickUserOffline(ctx, kickReq)
s.RegisterCenter.CloseConn(v)
return utils.Wrap(err, "") return utils.Wrap(err, "")
} }
return errs.ErrInternalServer.Wrap() return errs.ErrInternalServer.Wrap()

Loading…
Cancel
Save