Page MenuHomePhabricator

[lib] Update `clientThreadFrozenDueToBlock` and `getMinimallyEncodedCurrentUser` signatures to include `communityThreadInfo`
AcceptedPublic

Authored by atul on Mar 13 2024, 12:35 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Apr 14, 1:59 PM
Unknown Object (File)
Sun, Apr 14, 1:58 PM
Unknown Object (File)
Sun, Apr 14, 1:57 PM
Unknown Object (File)
Sun, Apr 7, 6:53 PM
Unknown Object (File)
Sun, Mar 31, 11:55 AM
Unknown Object (File)
Mar 22 2024, 7:50 PM
Unknown Object (File)
Mar 20 2024, 4:57 PM
Unknown Object (File)
Mar 19 2024, 6:25 PM
Subscribers

Details

Summary

Updating clientThreadFrozenDueToBlock and getMinimallyEncodedCurrentUser signatures to include communityThreadInfo.

Next step is to update useExistingThreadInfoFinder (which is easy) and threadInfoFromRawThreadInfo (which is hard and requires recursively updating all the callsites).

Will begin with useExistingThreadInfoFinder, and then update threadInfoFromRawThreadInfo and callsites, etc and proceed.


Depends on D11311

Test Plan

flow + careful reading

Diff Detail

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

Event Timeline

atul requested review of this revision.Mar 13 2024, 8:56 PM

It seems like changing the code to check permissions in communityThreadInfo is a huge amount of work. Could you explain why we have to do this and what are the consequences of not doing it?

This revision is now accepted and ready to land.Mar 19 2024, 5:11 AM