Skip to content

Commit

Permalink
Revert "[native][web] Add migration to unshim Blob-hosted multimedia"
Browse files Browse the repository at this point in the history
This reverts commit 30f6d90.
  • Loading branch information
Ashoat committed Nov 8, 2024
1 parent eea1df0 commit 40822b3
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
3 changes: 1 addition & 2 deletions native/redux/persist.js
Original file line number Diff line number Diff line change
Expand Up @@ -1496,7 +1496,6 @@ const migrations: MigrationsManifest<NavInfo, AppState> = Object.freeze({
state,
ops: {},
}): MigrationFunction<NavInfo, AppState>),
[85]: (state: AppState) => unshimClientDB(state, [messageTypes.MULTIMEDIA]),
});

// NOTE: renaming this object, and especially the `version` property
Expand All @@ -1507,7 +1506,7 @@ const persistConfig = {
storage: AsyncStorage,
blacklist: persistBlacklist,
debug: __DEV__,
version: 85,
version: 84,
transforms: [
messageStoreMessagesBlocklistTransform,
reportStoreTransform,
Expand Down
2 changes: 1 addition & 1 deletion web/redux/persist-constants.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
const rootKey = 'root';
const rootKeyPrefix = 'persist:';
const completeRootKey = `${rootKeyPrefix}${rootKey}`;
const storeVersion = 85;
const storeVersion = 84;

export { rootKey, rootKeyPrefix, completeRootKey, storeVersion };
4 changes: 0 additions & 4 deletions web/redux/persist.js
Original file line number Diff line number Diff line change
Expand Up @@ -718,10 +718,6 @@ const migrations: MigrationsManifest<WebNavInfo, AppState> = {
};
return { state, ops: operations };
}: MigrationFunction<WebNavInfo, AppState>),
[85]: (async (state: AppState) => ({
state,
ops: {},
}): MigrationFunction<WebNavInfo, AppState>),
};

const persistConfig: PersistConfig = {
Expand Down

0 comments on commit 40822b3

Please sign in to comment.