Page MenuHomePhabricator

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

Authored by atul on Mar 13 2024, 12:35 PM.
Tags
None
Referenced Files
F3527950: D11317.id38044.diff
Tue, Dec 24, 7:33 AM
F3527939: D11317.id.diff
Tue, Dec 24, 7:33 AM
F3527928: D11317.diff
Tue, Dec 24, 7:32 AM
Unknown Object (File)
Fri, Dec 6, 2:22 AM
Unknown Object (File)
Tue, Dec 3, 10:43 AM
Unknown Object (File)
Mon, Nov 25, 8:34 AM
Unknown Object (File)
Nov 22 2024, 1:29 AM
Unknown Object (File)
Nov 12 2024, 12:11 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

We ended up going with a very different approach from this stack. Abandoning to tidy things up.