This commit is contained in:
Alireza Ahmadi
2024-09-01 11:40:23 +02:00
parent 509fff0592
commit aaabbdacaa
5 changed files with 37 additions and 26 deletions

View File

@@ -872,15 +872,15 @@ Outbound.FreedomSettings.Fragment = class extends CommonClass {
}
};
Outbound.FreedomSettings.Noise = class extends CommonClass {
constructor(packets = '', delay = '') {
constructor(packet = '', delay = '') {
super();
this.packets = packets;
this.packet = packet;
this.delay = delay;
}
static fromJson(json = {}) {
return new Outbound.FreedomSettings.Noise(
json.packets,
json.packet,
json.delay,
);
}