Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3550955
D9860.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
674 B
Referenced Files
None
Subscribers
None
D9860.diff
View Options
diff --git a/keyserver/src/updaters/thread-permission-updaters.js b/keyserver/src/updaters/thread-permission-updaters.js
--- a/keyserver/src/updaters/thread-permission-updaters.js
+++ b/keyserver/src/updaters/thread-permission-updaters.js
@@ -229,7 +229,7 @@
const ancestorMembership = ancestorMembershipInfo.get(userID);
if (ancestorMembership) {
permissionsFromParent = ancestorMembership.permissionsFromParent;
- memberOfContainingThread = ancestorMembership.memberOfContainingThread;
+ memberOfContainingThread = !!ancestorMembership.memberOfContainingThread;
}
if (!hasContainingThreadID) {
memberOfContainingThread = true;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Dec 27, 7:06 PM (3 h, 22 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2718133
Default Alt Text
D9860.diff (674 B)
Attached To
Mode
D9860: [Flow202][keyserver][skip-ci] [11/x] Address type errors with memberOfContainingThread
Attached
Detach File
Event Timeline
Log In to Comment