Merge pull request #13257 from TibboddiT/master

Fix auto upload not working when "Also upload existing files" not checked
This commit is contained in:
Andy Scherzinger 2024-08-18 19:38:15 +02:00 committed by GitHub
commit 6c597c893d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -148,7 +148,7 @@ class FilesSyncWork(
private fun setSyncedFolder(syncedFolderID: Long): Boolean {
val syncedFolderTmp = syncedFolderProvider.getSyncedFolderByID(syncedFolderID)
if (syncedFolderTmp == null || !syncedFolderTmp.isEnabled || !syncedFolderTmp.isExisting) {
if (syncedFolderTmp == null || !syncedFolderTmp.isEnabled) {
return false
}
syncedFolder = syncedFolderTmp