email === this.clientSettings.email);
      } else {
        this.isExpired = this.dbInbound.isExpiry;
        this.clientStats = [];
      }


      if (app.ipLimitEnable && this.clientSettings) {
        this.clientSettings.limitIp = this.clientSettings.limitIp || '';
        refreshIPs(this.clientStats.email).then((ips) => {
          this.clientIps = ips;
        });
      }
      if (this.inbound.protocol == Protocols.WIREGUARD) {
        this.links = this.inbound.genInboundLinks(dbInbound.remark).spli