mirror of
https://github.com/abraunegg/onedrive
synced 2026-03-14 14:35:46 +01:00
Fix: websocket trigger not leading to sync with --download-only (#3631)
Co-authored-by: aster <aster@nuc>
This commit is contained in:
parent
68f379c629
commit
571719d550
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue