Page MenuHomePhabricator

D9332.diff
No OneTemporary

D9332.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
@@ -226,13 +226,8 @@
);
}
-function threadIsGroupChat(threadInfo: ThreadInfo | RawThreadInfo): boolean {
- return (
- threadMembersWithoutAddedAshoat(threadInfo).filter(
- member =>
- member.role || member.permissions[threadPermissions.VOICED]?.value,
- ).length > 2
- );
+function threadIsGroupChat(threadInfo: ThreadInfo): boolean {
+ return threadInfo.members.length > 2;
}
function threadOrParentThreadIsGroupChat(

File Metadata

Mime Type
text/plain
Expires
Wed, Dec 4, 3:49 AM (6 h, 15 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2610431
Default Alt Text
D9332.diff (586 B)

Event Timeline