diff --git a/lib/reducers/integrity-reducer.js b/lib/reducers/integrity-reducer.js --- a/lib/reducers/integrity-reducer.js +++ b/lib/reducers/integrity-reducer.js @@ -11,13 +11,13 @@ import type { IntegrityStore } from '../types/integrity-types'; import type { BaseAction } from '../types/redux-types.js'; import { fullStateSyncActionType } from '../types/socket-types.js'; -import type { LegacyRawThreadInfo } from '../types/thread-types.js'; +import type { RawThreadInfo } from '../types/thread-types.js'; import { hash } from '../utils/objects.js'; function reduceIntegrityStore( state: IntegrityStore, action: BaseAction, - threadInfos: { +[string]: LegacyRawThreadInfo }, + threadInfos: { +[string]: RawThreadInfo }, threadStoreOperations: $ReadOnlyArray, ): IntegrityStore { if ( diff --git a/lib/selectors/thread-selectors.js b/lib/selectors/thread-selectors.js --- a/lib/selectors/thread-selectors.js +++ b/lib/selectors/thread-selectors.js @@ -47,11 +47,11 @@ type ThreadType, } from '../types/thread-types-enum.js'; import { - type LegacyRawThreadInfo, type SidebarInfo, type LegacyRawThreadInfos, type RelativeMemberInfo, type ThreadInfo, + type RawThreadInfo, } from '../types/thread-types.js'; import { dateString, dateFromString } from '../utils/date-utils.js'; import { values } from '../utils/objects.js'; @@ -322,7 +322,7 @@ (state: BaseAppState<>) => state.threadStore.threadInfos[threadID], relativeMemberInfoSelectorForMembersOfThread(threadID), ( - threadInfo: ?LegacyRawThreadInfo, + threadInfo: ?RawThreadInfo, members: $ReadOnlyArray, ): boolean => { if (!threadInfo) {