Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3311487
D13539.id44769.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.id44769.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
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)
Attached To
Mode
D13539: [lib] Support creating private thread from user profile
Attached
Detach File
Event Timeline
Log In to Comment