Page MenuHomePhabricator

D13550.id44731.diff
No OneTemporary

D13550.id44731.diff

diff --git a/web/chat/thread-menu.react.js b/web/chat/thread-menu.react.js
--- a/web/chat/thread-menu.react.js
+++ b/web/chat/thread-menu.react.js
@@ -26,7 +26,8 @@
import type { ThreadInfo } from 'lib/types/minimally-encoded-thread-permissions-types.js';
import { threadPermissions } from 'lib/types/thread-permission-types.js';
import {
- threadTypes,
+ threadTypeIsPersonal,
+ threadTypeIsPrivate,
threadTypeIsSidebar,
threadTypeIsThick,
thickThreadTypes,
@@ -80,7 +81,10 @@
[popModal, pushModal, threadInfo.id],
);
const membersItem = React.useMemo(() => {
- if (threadInfo.type === threadTypes.GENESIS_PERSONAL) {
+ if (
+ threadTypeIsPersonal(threadInfo.type) ||
+ threadTypeIsPrivate(threadInfo.type)
+ ) {
return null;
}
return (

File Metadata

Mime Type
text/plain
Expires
Wed, Nov 20, 8:52 AM (21 h, 28 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2543857
Default Alt Text
D13550.id44731.diff (801 B)

Event Timeline