Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3248854
D12601.id42156.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
719 B
Referenced Files
None
Subscribers
None
D12601.id42156.diff
View Options
diff --git a/lib/types/minimally-encoded-thread-permissions-types.js b/lib/types/minimally-encoded-thread-permissions-types.js
--- a/lib/types/minimally-encoded-thread-permissions-types.js
+++ b/lib/types/minimally-encoded-thread-permissions-types.js
@@ -231,6 +231,9 @@
minimallyEncodedRawThreadInfo;
return {
...rest,
+ // We removed the `.permissions` field from `MemberInfo`, but persisted
+ // `MemberInfo`s will still have the field in legacy migrations.
+ // $FlowIgnore
members: members.map(decodeMinimallyEncodedMemberInfo),
roles: _mapValues(decodeMinimallyEncodedRoleInfo)(roles),
currentUser: decodeMinimallyEncodedThreadCurrentUserInfo(currentUser),
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 16, 11:14 AM (21 h, 45 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2497588
Default Alt Text
D12601.id42156.diff (719 B)
Attached To
Mode
D12601: [lib] Add `flow` suppression to `deprecatedDecodeMinimallyEncodedRawThreadInfo`
Attached
Detach File
Event Timeline
Log In to Comment