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)
Wed, Oct 23, 8:18 PM
Unknown Object (File)
Wed, Oct 23, 4:47 AM
Unknown Object (File)
Tue, Oct 22, 5:45 PM
Unknown Object (File)
Sat, Oct 19, 5:32 PM
Unknown Object (File)
Sat, Oct 19, 4:54 PM
Unknown Object (File)
Sun, Oct 13, 9:54 PM
Unknown Object (File)
Fri, Oct 11, 4:36 PM
Unknown Object (File)
Fri, Oct 11, 4:36 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
arcpatch-D12150 (branched from 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.