Skip to content

Commit ac08b9d

Browse files
committed
revert changes.
1 parent e31af0a commit ac08b9d

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

lib/src/frame_cryptor.dart

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,12 @@ class KeyProviderOptions {
1616
required this.ratchetWindowSize,
1717
this.uncryptedMagicBytes,
1818
this.failureTolerance = -1,
19-
this.key_ring_size = 16,
20-
this.discard_frame_when_cryptor_not_ready = false,
2119
});
2220
bool sharedKey;
2321
Uint8List ratchetSalt;
2422
Uint8List? uncryptedMagicBytes;
2523
int ratchetWindowSize;
2624
int failureTolerance;
27-
28-
/// key ring size should be between 1 and 255
29-
/// default is 16
30-
int key_ring_size;
31-
bool discard_frame_when_cryptor_not_ready;
3225
Map<String, dynamic> toJson() {
3326
return {
3427
'sharedKey': sharedKey,
@@ -37,8 +30,6 @@ class KeyProviderOptions {
3730
'uncryptedMagicBytes': uncryptedMagicBytes,
3831
'ratchetWindowSize': ratchetWindowSize,
3932
'failureTolerance': failureTolerance,
40-
'keyRingSize': key_ring_size,
41-
'discardFrameWhenCryptorNotReady': discard_frame_when_cryptor_not_ready,
4233
};
4334
}
4435
}

0 commit comments

Comments
 (0)