Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3350068
D12597.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
933 B
Referenced Files
None
Subscribers
None
D12597.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D12597: [lib] Fix construction of `ThinRawThreadInfo` in `createPendingThread`
Attached
Detach File
Event Timeline
Log In to Comment