Page MenuHomePhabricator

D13546.id44776.diff
No OneTemporary

D13546.id44776.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
@@ -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

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)

Event Timeline