Page MenuHomePhabricator

D12597.diff
No OneTemporary

D12597.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
@@ -85,7 +85,6 @@
ThickMemberInfo,
UserProfileThreadInfo,
MixedRawThreadInfos,
- LegacyMemberInfo,
LegacyThinRawThreadInfo,
} from '../types/thread-types.js';
import { updateTypes } from '../types/update-types-enum.js';
@@ -535,14 +534,12 @@
thinThreadType,
),
community: getCommunity(parentThreadInfo),
- members: members.map(member =>
- minimallyEncodeMemberInfo<LegacyMemberInfo>({
- id: member.id,
- role: role.id,
- permissions: membershipPermissions,
- isSender: false,
- }),
- ),
+ members: members.map(member => ({
+ id: member.id,
+ role: role.id,
+ minimallyEncoded: true,
+ isSender: false,
+ })),
roles: {
[role.id]: role,
},

File Metadata

Mime Type
text/plain
Expires
Sat, Nov 23, 8:35 PM (21 h, 11 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2572335
Default Alt Text
D12597.diff (933 B)

Event Timeline