Page MenuHomePhabricator

D13539.diff
No OneTemporary

D13539.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
@@ -1740,10 +1740,8 @@
return null;
}
- if (isViewerProfile) {
- return oldestPrivateThreadInfo
- ? { threadInfo: oldestPrivateThreadInfo }
- : null;
+ if (isViewerProfile && oldestPrivateThreadInfo) {
+ return { threadInfo: oldestPrivateThreadInfo };
}
if (usersWithPersonalThread.has(userID)) {

File Metadata

Mime Type
text/plain
Expires
Mon, Nov 25, 9:06 AM (21 h, 12 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2579143
Default Alt Text
D13539.diff (489 B)

Event Timeline