Page MenuHomePhabricator

D11099.id38238.diff
No OneTemporary

D11099.id38238.diff

diff --git a/native/redux/persist.js b/native/redux/persist.js
--- a/native/redux/persist.js
+++ b/native/redux/persist.js
@@ -39,6 +39,7 @@
convertUserInfosToReplaceUserOps,
userStoreOpsHandlers,
} from 'lib/ops/user-store-ops.js';
+import { patchRawThreadInfosWithSpecialRole } from 'lib/permissions/special-roles.js';
import { filterThreadIDsInFilterList } from 'lib/reducers/calendar-filters-reducer.js';
import { highestLocalIDSelector } from 'lib/selectors/local-id-selectors.js';
import { createAsyncMigrate } from 'lib/shared/create-async-migrate.js';
@@ -102,6 +103,7 @@
import {
createUpdateDBOpsForMessageStoreMessages,
createUpdateDBOpsForMessageStoreThreads,
+ updateClientDBThreadStoreThreadInfos,
} from './client-db-utils.js';
import { defaultState } from './default-state.js';
import {
@@ -1125,6 +1127,12 @@
}
return newState;
},
+ [64]: (state: AppState) =>
+ updateClientDBThreadStoreThreadInfos(
+ state,
+ patchRawThreadInfosWithSpecialRole,
+ handleReduxMigrationFailure,
+ ),
};
// After migration 31, we'll no longer want to persist `messageStore.messages`

File Metadata

Mime Type
text/plain
Expires
Mon, Nov 25, 9:20 PM (21 h, 32 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2576432
Default Alt Text
D11099.id38238.diff (1 KB)

Event Timeline