Page MenuHomePhabricator

D13532.id.diff
No OneTemporary

D13532.id.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
Tue, Oct 1, 10:27 PM (2 h, 59 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2213807
Default Alt Text
D13532.id.diff (1 KB)

Event Timeline