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