Page MenuHomePhabricator

D13550.diff
No OneTemporary

D13550.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
Fri, Nov 22, 6:18 PM (17 h, 16 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2563734
Default Alt Text
D13550.diff (801 B)

Event Timeline