Fixing remote highest mode seq checks for qresync and condstore synchronizers.

This commit is contained in:
Burak Kaan Köse
2025-01-29 16:12:10 +01:00
parent ad900d596c
commit 50d0ebc6c8
3 changed files with 13 additions and 16 deletions

View File

@@ -22,7 +22,7 @@ namespace Wino.Core.Synchronizers.ImapSync
if (client is not WinoImapClient winoImapClient)
throw new System.ArgumentException("Client must be of type WinoImapClient.", nameof(client));
// if (client.Capabilities.HasFlag(ImapCapabilities.QuickResync) && winoImapClient.IsQResyncEnabled) return _qResyncSynchronizer;
if (client.Capabilities.HasFlag(ImapCapabilities.QuickResync) && winoImapClient.IsQResyncEnabled) return _qResyncSynchronizer;
if (client.Capabilities.HasFlag(ImapCapabilities.CondStore)) return _condstoreSynchronizer;
return _uidBasedSynchronizer;