-
-
Notifications
You must be signed in to change notification settings - Fork 80
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
SyncManager: pass collection
directly
#927
SyncManager: pass collection
directly
#927
Conversation
Signed-off-by: Arnau Mora Gras <arnyminerz@proton.me>
…-time-directly-to-db-collection # Conflicts: # app/src/main/kotlin/at/bitfire/davdroid/sync/SyncManager.kt
Signed-off-by: Arnau Mora <arnyminerz@proton.me>
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.
Tests failing :/
…-time-directly-to-db-collection
…tly-to-db-collection
@sunkup fixed :) |
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 check whether the collection belongs to the account?
When could it not match and if it doesn't, why can't we fix it instead of doing this check here?
collection
directlycollection
directly
Purpose
After #875, we will have direct access to the DB collection. So we don't need to find it manually in
saveSyncTime
anymore and can directly use the passedcollection
.Short description
Using the passed
collection
Checklist