Page MenuHomePhabricator

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

Authored by atul on May 21 2024, 8:04 AM.
Tags
None
Referenced Files
F3354274: D12150.id40770.diff
Sat, Nov 23, 12:41 PM
F3354052: D12150.id40769.diff
Sat, Nov 23, 11:38 AM
Unknown Object (File)
Sat, Nov 9, 5:12 AM
Unknown Object (File)
Oct 23 2024, 8:18 PM
Unknown Object (File)
Oct 23 2024, 4:47 AM
Unknown Object (File)
Oct 22 2024, 5:45 PM
Unknown Object (File)
Oct 19 2024, 5:32 PM
Unknown Object (File)
Oct 19 2024, 4:54 PM
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.