Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3266519
D13487.id44672.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
921 B
Referenced Files
None
Subscribers
None
D13487.id44672.diff
View Options
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;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 17, 2:05 AM (21 h, 20 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2507403
Default Alt Text
D13487.id44672.diff (921 B)
Attached To
Mode
D13487: [lib] fix thick thread showing multiple times in thread list
Attached
Detach File
Event Timeline
Log In to Comment