Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3359440
D13539.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
489 B
Referenced Files
None
Subscribers
None
D13539.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D13539: [lib] Support creating private thread from user profile
Attached
Detach File
Event Timeline
Log In to Comment