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)
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
Unknown Object (File)
Wed, Jun 19, 12:20 PM
Unknown Object (File)
Fri, Jun 14, 8:35 AM
Unknown Object (File)
Wed, Jun 12, 10:33 AM
Unknown Object (File)
Tue, Jun 11, 3:24 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
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.Wed, May 29, 10:35 PM
This revision was automatically updated to reflect the committed changes.