Page MenuHomePhabricator

[lib] Make `checkOnlyViewerBlock` argument of `threadIsWithBlockedUserOnly` required
ClosedPublic

Authored by atul on May 21 2024, 8:04 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Nov 30, 1:41 AM
Unknown Object (File)
Wed, Nov 27, 5:32 AM
Unknown Object (File)
Nov 23 2024, 2:42 PM
Unknown Object (File)
Nov 23 2024, 12:41 PM
Unknown Object (File)
Nov 23 2024, 11:38 AM
Unknown Object (File)
Nov 9 2024, 5:12 AM
Unknown Object (File)
Oct 23 2024, 8:18 PM
Unknown Object (File)
Oct 23 2024, 4:47 AM
Subscribers
None

Details

Summary

I want to add another skipMemberAdminRoleCheck argument to this function. Can't have two optional arguments, so going to make them both required.

Only two callsites to threadIsWithBlockedUserOnly and they're pretty straightforward.


Depends on D12149

Test Plan

Trusting flow here.

Diff Detail

Repository
rCOMM Comm
Branch
master
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

atul published this revision for review.May 21 2024, 8:04 AM

i'm probably not a good reviewer of this code

This revision is now accepted and ready to land.May 24 2024, 2:51 AM
This revision was landed with ongoing or failed builds.May 29 2024, 10:35 PM
This revision was automatically updated to reflect the committed changes.