Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3311482
D13546.id44776.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
493 B
Referenced Files
None
Subscribers
None
D13546.id44776.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
@@ -973,10 +973,9 @@
name: threadInfo.name,
display: 'uiName',
uiName: memberEntities,
- ifJustViewer:
- threadInfo.type === threadTypes.GENESIS_PRIVATE
- ? 'viewer_username'
- : 'just_you_string',
+ ifJustViewer: threadTypeIsPrivate(threadInfo.type)
+ ? 'viewer_username'
+ : 'just_you_string',
};
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Nov 20, 9:01 AM (18 h, 44 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2543868
Default Alt Text
D13546.id44776.diff (493 B)
Attached To
Mode
D13546: [lib] Show viewer's username as thread name for PRIVATE threads if no thread name specified
Attached
Detach File
Event Timeline
Log In to Comment