diff --git a/lib/selectors/user-selectors.js b/lib/selectors/user-selectors.js --- a/lib/selectors/user-selectors.js +++ b/lib/selectors/user-selectors.js @@ -25,7 +25,7 @@ } from '../types/minimally-encoded-thread-permissions-types.js'; import type { BaseAppState } from '../types/redux-types.js'; import { userRelationshipStatus } from '../types/relationship-types.js'; -import { threadTypes } from '../types/thread-types-enum.js'; +import { threadTypeIsPersonal } from '../types/thread-types-enum.js'; import type { RawThreadInfos } from '../types/thread-types.js'; import type { UserInfos, @@ -183,7 +183,7 @@ for (const threadID in threadInfos) { const thread = threadInfos[threadID]; if ( - thread.type !== threadTypes.GENESIS_PERSONAL || + !threadTypeIsPersonal(thread.type) || !thread.members.find(member => member.id === viewerID) ) { continue;