Page MenuHomePhorge

D12492.1765133216.diff
No OneTemporary

Size
1 KB
Referenced Files
None
Subscribers
None

D12492.1765133216.diff

diff --git a/web/redux/initial-state-gate.js b/web/redux/initial-state-gate.js
--- a/web/redux/initial-state-gate.js
+++ b/web/redux/initial-state-gate.js
@@ -12,7 +12,6 @@
import { allUpdatesCurrentAsOfSelector } from 'lib/selectors/keyserver-selectors.js';
import { canUseDatabaseOnWeb } from 'lib/shared/web-database.js';
import type { RawThreadInfo } from 'lib/types/minimally-encoded-thread-permissions-types.js';
-import type { LegacyRawThreadInfo } from 'lib/types/thread-types.js';
import { convertIDToNewSchema } from 'lib/utils/migration-utils.js';
import { entries, values } from 'lib/utils/objects.js';
import { useDispatch } from 'lib/utils/redux-utils.js';
@@ -105,10 +104,7 @@
// When there is no data in the DB, it's necessary to migrate data
// from the keyserver payload to the DB
threadStoreOperations = entries(payload.threadStore.threadInfos).map(
- ([id, threadInfo]: [
- string,
- LegacyRawThreadInfo | RawThreadInfo,
- ]) => ({
+ ([id, threadInfo]: [string, RawThreadInfo]) => ({
type: 'replace',
payload: {
id,

File Metadata

Mime Type
text/plain
Expires
Sun, Dec 7, 6:46 PM (23 m, 40 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5845506
Default Alt Text
D12492.1765133216.diff (1 KB)

Event Timeline