Page MenuHomePhabricator

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

Authored by atul on May 21 2024, 8:04 AM.
Tags
None
Referenced Files
F2159278: D12150.id40770.diff
Mon, Jul 1, 6:37 AM
F2159261: D12150.id40769.diff
Mon, Jul 1, 6:31 AM
F2159064: D12150.id40480.diff
Mon, Jul 1, 6:06 AM
F2154251: D12150.id40769.diff
Sun, Jun 30, 6:52 PM
Unknown Object (File)
Fri, Jun 21, 5:28 AM
Unknown Object (File)
Fri, Jun 21, 5:28 AM
Unknown Object (File)
Fri, Jun 21, 5:28 AM
Unknown Object (File)
Thu, Jun 20, 4:45 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
Lint
Lint Not Applicable
Unit
Tests Not Applicable

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.