mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-20 09:06:45 +00:00
fix(GODT-2859): Trigger user resync while updating from 3.4.0 to 3.4.1.
This commit is contained in:
@ -524,6 +524,9 @@ func (bridge *Bridge) addUserWithVault(
|
||||
return fmt.Errorf("failed to get Statistics directory: %w", err)
|
||||
}
|
||||
|
||||
// re-set SyncStatus if database need to be re-sync for migration.
|
||||
bridge.TryMigrate(vault)
|
||||
|
||||
user, err := user.New(
|
||||
ctx,
|
||||
vault,
|
||||
|
||||
Reference in New Issue
Block a user