Reset manifest version to zero after account restore.

This commit is contained in:
Greyson Parrelli
2021-04-18 11:27:46 -04:00
parent f55db6a5d7
commit 8bf8ecf7fa

View File

@@ -76,8 +76,8 @@ public class StorageAccountRestoreJob extends BaseJob {
return;
}
Log.i(TAG, "Updating local manifest version to: " + manifest.get().getVersion());
TextSecurePreferences.setStorageManifestVersion(context, manifest.get().getVersion());
Log.i(TAG, "Updating local manifest version to 0.");
TextSecurePreferences.setStorageManifestVersion(context, 0);
Optional<StorageId> accountId = manifest.get().getAccountStorageId();