support old shadowsocks methods

This commit is contained in:
Alireza Ahmadi
2023-07-13 20:41:04 +02:00
parent 678ec4fdfc
commit bd8028fae5
6 changed files with 51 additions and 16 deletions

View File

@@ -35,7 +35,7 @@
this.inbound = dbInbound.toInbound();
settings = JSON.parse(this.inbound.settings);
this.client = settings.clients[clientIndex];
remark = this.dbInbound.remark + "-" + this.client.email;
remark = this.dbInbound.remark + ( this.client ? "-" + this.client.email : '');
address = this.dbInbound.address;
this.subId = '';
this.qrcodes = [];