From 571719d5508bb3ebad386e413f031d1520ad4473 Mon Sep 17 00:00:00 2001 From: theh0lyc0w <54720985+theh0lyc0w@users.noreply.github.com> Date: Wed, 4 Feb 2026 23:07:45 +0100 Subject: [PATCH] Fix: websocket trigger not leading to sync with --download-only (#3631) Co-authored-by: aster --- src/main.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.d b/src/main.d index f9fa1562..db47d015 100644 --- a/src/main.d +++ b/src/main.d @@ -1379,7 +1379,7 @@ int main(string[] cliArgs) { auto sleepTime = nextCheckTime - currentTime; if (debugLogging) {addLogEntry("Sleep for " ~ to!string(sleepTime), ["debug"]);} - if (filesystemMonitor.initialised || webhookEnabled) { + if (filesystemMonitor.initialised || webhookEnabled || oneDriveSocketIo !is null) { if (filesystemMonitor.initialised) { // If local monitor is on and is waiting (previous event was not from webhook)