Page MenuHomePhabricator

D12601.id42156.diff
No OneTemporary

D12601.id42156.diff

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

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)

Event Timeline