summary refs log tree commit diff
path: root/MxApiExtensions/Classes
diff options
context:
space:
mode:
authorTheArcaneBrony <myrainbowdash949@gmail.com>2023-10-17 17:05:49 +0200
committerTheArcaneBrony <myrainbowdash949@gmail.com>2023-10-17 17:05:49 +0200
commit72b8f014866be5d0631a5b432b9d55569554e524 (patch)
tree8329792b9400449ca9519f4714475c08cbf7a52a /MxApiExtensions/Classes
parentRefactors (diff)
downloadMxApiExtensions-72b8f014866be5d0631a5b432b9d55569554e524.tar.xz
Refactors
Diffstat (limited to 'MxApiExtensions/Classes')
-rw-r--r--MxApiExtensions/Classes/SyncState.cs7
1 files changed, 4 insertions, 3 deletions
diff --git a/MxApiExtensions/Classes/SyncState.cs b/MxApiExtensions/Classes/SyncState.cs

index 7f07894..6950954 100644 --- a/MxApiExtensions/Classes/SyncState.cs +++ b/MxApiExtensions/Classes/SyncState.cs
@@ -1,14 +1,15 @@ using System.Collections.Concurrent; using LibMatrix.Helpers; using LibMatrix.Homeservers; +using LibMatrix.Responses; namespace MxApiExtensions.Classes; public class SyncState { public string? NextBatch { get; set; } - public ConcurrentQueue<SyncResult> SyncQueue { get; set; } = new(); + public ConcurrentQueue<SyncResponse> SyncQueue { get; set; } = new(); public bool IsInitialSync { get; set; } - public Task? NextSyncResult { get; set; } - public DateTime NextSyncResultStartedAt { get; set; } = DateTime.Now; + public Task? NextSyncResponse { get; set; } + public DateTime NextSyncResponseStartedAt { get; set; } = DateTime.Now; public AuthenticatedHomeserverGeneric Homeserver { get; set; } }