From ae65270f5cfe405fce6027a384a93f1916621581 Mon Sep 17 00:00:00 2001 From: Jyrki Gadinger Date: Wed, 13 Aug 2025 15:26:48 +0200 Subject: [PATCH] fix(macOS): report `Success` as the initial sync state for VFS If only VFS sync is configured, the sync state would be stuck to `SyncPrepare` otherwise, unless a file is downloaded/uploaded from the configured VFS directory. I think this broke with ee3ae980a8a41922cb99575682af42592cb37fe7, where the EnumerationListener that reported the sync states got removed. Signed-off-by: Jyrki Gadinger --- src/gui/macOS/fileprovidersocketcontroller.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/macOS/fileprovidersocketcontroller.cpp b/src/gui/macOS/fileprovidersocketcontroller.cpp index 3901893499..351c412556 100644 --- a/src/gui/macOS/fileprovidersocketcontroller.cpp +++ b/src/gui/macOS/fileprovidersocketcontroller.cpp @@ -96,7 +96,7 @@ void FileProviderSocketController::parseReceivedLine(const QString &receivedLine _accountState = FileProviderDomainManager::accountStateFromFileProviderDomainIdentifier(domainIdentifier); sendIgnoreList(); sendAccountDetails(); - reportSyncState("SYNC_PREPARING"); + reportSyncState("SYNC_FINISHED"); return; } else if (command == "FILE_PROVIDER_DOMAIN_SYNC_STATE_CHANGE") { reportSyncState(argument);