Page MenuHomePhabricator

[lib] Introduce `decodeMinimallyEncodedRawThreadInfo`
ClosedPublic

Authored by atul on Nov 7 2023, 11:56 AM.
Tags
None
Referenced Files
F4499018: D9755.id32923.diff
Sat, Mar 1, 7:36 AM
F4499017: D9755.id32930.diff
Sat, Mar 1, 7:36 AM
F4499016: D9755.id32931.diff
Sat, Mar 1, 7:36 AM
F4498975: D9755.id.diff
Sat, Mar 1, 7:35 AM
F4498928: D9755.diff
Sat, Mar 1, 7:28 AM
Unknown Object (File)
Sat, Feb 15, 2:12 AM
Unknown Object (File)
Mon, Feb 10, 11:17 AM
Unknown Object (File)
Jan 24 2025, 11:54 PM
Subscribers

Details

Summary

This allows us to "recover" RawThreadInfo from MinimallyEncodedRawThreadInfo encoded via minimallyEncodeRawThreadInfo.

This is *finally* the last utility function that we'll be introducing in this stack. We now have all of the building blocks in place and can make necessary changes to keyserver/native/web.

This function is also "temporary" because in the future MinimallyEncodedRawThreadInfo will effectively be the new RawThreadInfo. Usage of this function will be replaced by refactoring client code to query the minimally encoded permissions directly.


Depends on D9752

Test Plan

Unit test, will add more unit tests at end of stack with "prod data" from my Redux store.

Diff Detail

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