Page MenuHomePhabricator

D13532.id44762.diff
No OneTemporary

D13532.id44762.diff

diff --git a/lib/shared/thread-utils.js b/lib/shared/thread-utils.js
--- a/lib/shared/thread-utils.js
+++ b/lib/shared/thread-utils.js
@@ -1442,9 +1442,9 @@
if (!threadSearchResults.has(item.threadInfo.id)) {
continue;
}
- if (item.threadInfo.type === threadTypes.GENESIS_PRIVATE) {
+ if (threadTypeIsPrivate(item.threadInfo.type)) {
privateThreads.push({ ...item, sidebars: [] });
- } else if (item.threadInfo.type === threadTypes.GENESIS_PERSONAL) {
+ } else if (threadTypeIsPersonal(item.threadInfo.type)) {
personalThreads.push({ ...item, sidebars: [] });
} else {
otherThreads.push({ ...item, sidebars: [] });
@@ -1482,9 +1482,9 @@
if (!threadSearchResultsSet.has(threadInfo.id)) {
continue;
}
- if (threadInfo.type === threadTypes.GENESIS_PRIVATE) {
+ if (threadTypeIsPrivate(threadInfo.type)) {
privateThreads.push(threadInfo);
- } else if (threadInfo.type === threadTypes.GENESIS_PERSONAL) {
+ } else if (threadTypeIsPersonal(threadInfo.type)) {
personalThreads.push(threadInfo);
} else {
otherThreads.push(threadInfo);

File Metadata

Mime Type
text/plain
Expires
Wed, Nov 20, 10:33 AM (22 h, 3 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2544554
Default Alt Text
D13532.id44762.diff (1 KB)

Event Timeline