diff --git a/native/redux/persist.js b/native/redux/persist.js index 2899587204..a4d4610d70 100644 --- a/native/redux/persist.js +++ b/native/redux/persist.js @@ -1496,6 +1496,7 @@ const migrations: MigrationsManifest = Object.freeze({ state, ops: {}, }): MigrationFunction), + [85]: (state: AppState) => unshimClientDB(state, [messageTypes.MULTIMEDIA]), }); // NOTE: renaming this object, and especially the `version` property @@ -1506,7 +1507,7 @@ const persistConfig = { storage: AsyncStorage, blacklist: persistBlacklist, debug: __DEV__, - version: 84, + version: 85, transforms: [ messageStoreMessagesBlocklistTransform, reportStoreTransform, diff --git a/web/redux/persist-constants.js b/web/redux/persist-constants.js index c63ebd3379..fba10a0bd2 100644 --- a/web/redux/persist-constants.js +++ b/web/redux/persist-constants.js @@ -3,6 +3,6 @@ const rootKey = 'root'; const rootKeyPrefix = 'persist:'; const completeRootKey = `${rootKeyPrefix}${rootKey}`; -const storeVersion = 84; +const storeVersion = 85; export { rootKey, rootKeyPrefix, completeRootKey, storeVersion }; diff --git a/web/redux/persist.js b/web/redux/persist.js index 21b05bb7ce..789cf14d2f 100644 --- a/web/redux/persist.js +++ b/web/redux/persist.js @@ -718,6 +718,10 @@ const migrations: MigrationsManifest = { }; return { state, ops: operations }; }: MigrationFunction), + [85]: (async (state: AppState) => ({ + state, + ops: {}, + }): MigrationFunction), }; const persistConfig: PersistConfig = {