summary refs log tree commit diff
path: root/MxApiExtensions/Classes/SyncState.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MxApiExtensions/Classes/SyncState.cs')
-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; }
 }