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
Tue, Oct 1, 10:12 PM (2 h, 36 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2213707
Default Alt Text
D13539.diff (489 B)

Event Timeline