Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F32210848
D12492.1765133216.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D12492.1765133216.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D12492: [web] Update InitialReduxStateGate to remove reference to LegacyRawThreadInfo
Attached
Detach File
Event Timeline
Log In to Comment