mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-11 05:06:51 +00:00
GODT-1657: Stable sync (still needs more tests)
This commit is contained in:
@ -74,7 +74,7 @@ func getGluonDir(encVault *vault.Vault) (string, error) {
|
||||
|
||||
if empty {
|
||||
if err := encVault.ForUser(func(user *vault.User) error {
|
||||
return user.SetSync(false)
|
||||
return user.ClearSyncStatus()
|
||||
}); err != nil {
|
||||
return "", fmt.Errorf("failed to reset user sync status: %w", err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user