Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F32865912
D9292.1768129552.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
892 B
Referenced Files
None
Subscribers
None
D9292.1768129552.diff
View Options
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
@@ -17,6 +17,7 @@
includeDeletedSelector,
} from './calendar-filter-selectors.js';
import { relativeMemberInfoSelectorForMembersOfThread } from './user-selectors.js';
+import genesis from '../facts/genesis.js';
import {
getAvatarForThread,
getRandomDefaultEmojiAvatar,
@@ -415,7 +416,11 @@
const result = new Map();
for (const threadID in rawThreadInfos) {
const rawThreadInfo = rawThreadInfos[threadID];
- if (threadIsPending(threadID)) {
+ if (
+ threadIsPending(threadID) ||
+ (rawThreadInfo.parentThreadID !== genesis.id &&
+ rawThreadInfo.type !== threadTypes.SIDEBAR)
+ ) {
continue;
}
const actualMemberIDs = rawThreadInfo.members
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Jan 11, 11:05 AM (10 h, 46 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5918937
Default Alt Text
D9292.1768129552.diff (892 B)
Attached To
Mode
D9292: [lib] Only consider children of GENESIS when proposing existing chats
Attached
Detach File
Event Timeline
Log In to Comment