Page MenuHomePhabricator

D4357.diff
No OneTemporary

D4357.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
@@ -677,10 +677,9 @@
viewerID: ?string,
userInfos: UserInfos,
): string {
- const uiName = threadInfo.name
- ? threadInfo.name
- : robotextName(threadInfo, viewerID, userInfos);
- return firstLine(uiName);
+ return firstLine(
+ threadInfo.name || robotextName(threadInfo, viewerID, userInfos),
+ );
}
function threadInfoFromRawThreadInfo(

File Metadata

Mime Type
text/plain
Expires
Wed, Dec 4, 8:34 AM (8 h, 33 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2613989
Default Alt Text
D4357.diff (499 B)

Event Timeline