-
-
Notifications
You must be signed in to change notification settings - Fork 148
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: remote files are not synced #1314
Conversation
closes #1304 also |
Thanks for finding this! I've not been able to for ages. |
// Local file is newer, do nothing | ||
break; | ||
case BestFile.remote: | ||
case BestFile.either: //local file does not exists |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why did you change this part? BestFile.either
should be when the local and remote files are equivalent, so no sync needs to occur for this file
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
BestFile.either is also returned when local file does not exist. I did not searched the code why.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, I've improved this aspect in 01b28d9
* test: ensure files are decrypted correctly * fix: relativeLocalPath shouldn't start with documents dir A huge thank you to @QubaB for their work finding the problem in #1314 This commit fixes the problem slightly earlier in the syncing process, and adds a test for it Closes #1306, Closes #1304, Closes #1314
* test: ensure files are decrypted correctly * fix: relativeLocalPath shouldn't start with documents dir A huge thank you to @QubaB for their work finding the problem in #1314 This commit fixes the problem slightly earlier in the syncing process, and adds a test for it Closes #1306, Closes #1304, Closes #1314 Co-Authored-By: QubaB <[email protected]>
fix problems with syncing notes from nextcloud server
closes #1306