1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-11-26 17:03:12 +03:00

Avoid upload a new fallback key at every /sync (#3338)

This commit is contained in:
Florian Duros
2023-05-03 15:10:02 +02:00
committed by GitHub
parent ee2f1cdfd4
commit f3772cdf82

View File

@@ -319,7 +319,7 @@ export class RustCrypto implements CryptoBackend {
private async receiveSyncChanges({
events,
oneTimeKeysCounts = new Map<string, number>(),
unusedFallbackKeys = new Set<string>(),
unusedFallbackKeys,
devices = new RustSdkCryptoJs.DeviceLists(),
}: {
events?: IToDeviceEvent[];