about summary refs log tree commit diff
path: root/LibMatrix/Helpers/SyncHelper.cs
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2025-05-08 23:45:26 +0200
committerRory& <root@rory.gay>2025-05-08 23:45:26 +0200
commitf8f1feff2bcbfb2bd5fdb498b2e8572ecba37b2c (patch)
tree7f0ded64c845e228573d0f251dceacbba6e4817a /LibMatrix/Helpers/SyncHelper.cs
parentRetry http requests up to 5 times, add support for unstable state_after (diff)
downloadLibMatrix-f8f1feff2bcbfb2bd5fdb498b2e8572ecba37b2c.tar.xz
Verbosity
Diffstat (limited to 'LibMatrix/Helpers/SyncHelper.cs')
-rw-r--r--LibMatrix/Helpers/SyncHelper.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/LibMatrix/Helpers/SyncHelper.cs b/LibMatrix/Helpers/SyncHelper.cs

index 862c8ad..6488464 100644 --- a/LibMatrix/Helpers/SyncHelper.cs +++ b/LibMatrix/Helpers/SyncHelper.cs
@@ -25,6 +25,10 @@ public class SyncHelper(AuthenticatedHomeserverGeneric homeserver, ILogger? logg public string? Since { get; set; } public int Timeout { get; set; } = 30000; public string? SetPresence { get; set; } = "online"; + + /// <summary> + /// Disabling this uses a technically slower code path, useful for checking whether delay comes from waiting for server or deserialising responses + /// </summary> public bool UseInternalStreamingSync { get; set; } = true; public bool UseMsc4222StateAfter {