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
Unknown Object (File)
Tue, Nov 12, 12:11 PM
Unknown Object (File)
Fri, Nov 8, 6:46 AM
Unknown Object (File)
Oct 15 2024, 8:18 PM
Unknown Object (File)
Oct 15 2024, 8:17 PM
Unknown Object (File)
Oct 15 2024, 8:17 PM
Unknown Object (File)
Sep 4 2024, 2:54 PM
Unknown Object (File)
Sep 4 2024, 2:54 PM
Unknown Object (File)
Sep 4 2024, 2:54 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.