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.cs10
1 files changed, 5 insertions, 5 deletions
diff --git a/MxApiExtensions/Classes/SyncState.cs b/MxApiExtensions/Classes/SyncState.cs
index 733f26d..50aa0bd 100644
--- a/MxApiExtensions/Classes/SyncState.cs
+++ b/MxApiExtensions/Classes/SyncState.cs
@@ -28,7 +28,7 @@ public class SyncState {
     [JsonIgnore]
     public AuthenticatedHomeserverGeneric Homeserver { get; set; }
 
-#region Debug stuff
+    #region Debug stuff
 
     public object NextSyncResponseTaskInfo => new {
         NextSyncResponse?.Id,
@@ -39,10 +39,10 @@ public class SyncState {
         Status = NextSyncResponse?.Status.GetDisplayName()
     };
 
-#endregion
+    #endregion
 
     public SyncResponse SendEphemeralTimelineEventInRoom(string roomId, StateEventResponse @event, SyncResponse? existingResponse = null) {
-        if(existingResponse is null)
+        if (existingResponse is null)
             SyncQueue.Enqueue(existingResponse = new());
         existingResponse.Rooms ??= new();
         existingResponse.Rooms.Join ??= new();
@@ -54,7 +54,7 @@ public class SyncState {
     }
 
     public SyncResponse SendStatusMessage(string text, SyncResponse? existingResponse = null) {
-        if(existingResponse is null)
+        if (existingResponse is null)
             SyncQueue.Enqueue(existingResponse = new());
         existingResponse.Presence ??= new();
         // existingResponse.Presence.Events ??= new();
@@ -73,4 +73,4 @@ public class SyncState {
         });
         return existingResponse;
     }
-}
\ No newline at end of file
+}