about summary refs log tree commit diff
path: root/LibMatrix/Helpers/SyncHelper.cs
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2025-04-07 17:34:48 +0200
committerRory& <root@rory.gay>2025-04-07 17:34:48 +0200
commit637279d9b761df32968e3c5af87ae34b8ade69cd (patch)
treefe0d1ec912343f81318933404443be84d12e42e0 /LibMatrix/Helpers/SyncHelper.cs
parentFollowup documentation from chat, fix trailing whitespace (diff)
downloadLibMatrix-637279d9b761df32968e3c5af87ae34b8ade69cd.tar.xz
Intermediary commit: rewrite optimising of sync store, support compiled JSON in IStorageProvider
Diffstat (limited to 'LibMatrix/Helpers/SyncHelper.cs')
-rw-r--r--LibMatrix/Helpers/SyncHelper.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/LibMatrix/Helpers/SyncHelper.cs b/LibMatrix/Helpers/SyncHelper.cs

index 9b1b921..bdbd0b4 100644 --- a/LibMatrix/Helpers/SyncHelper.cs +++ b/LibMatrix/Helpers/SyncHelper.cs
@@ -63,7 +63,7 @@ public class SyncHelper(AuthenticatedHomeserverGeneric homeserver, ILogger? logg public async Task<int> GetUnoptimisedStoreCount() { if (storageProvider is null) return -1; var keys = await storageProvider.GetAllKeysAsync(); - return keys.Count(x => !x.StartsWith("old/")) - 1; + return keys.Count(static x => !x.StartsWith("old/")) - 1; } private async Task UpdateFilterAsync() {