Page MenuHomePhabricator

D13539.id44769.diff
No OneTemporary

D13539.id44769.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
Wed, Nov 20, 9:02 AM (21 h, 28 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2543871
Default Alt Text
D13539.id44769.diff (489 B)

Event Timeline