Page MenuHomePhabricator

[lib] Introduce `decodeMinimallyEncodedRawThreadInfo`
ClosedPublic

Authored by atul on Nov 7 2023, 11:56 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Nov 16, 8:44 PM
Unknown Object (File)
Sat, Nov 16, 8:44 PM
Unknown Object (File)
Sat, Nov 16, 8:44 PM
Unknown Object (File)
Sat, Nov 16, 8:43 PM
Unknown Object (File)
Sat, Nov 16, 8:37 PM
Unknown Object (File)
Oct 15 2024, 1:31 AM
Unknown Object (File)
Oct 15 2024, 1:31 AM
Unknown Object (File)
Oct 15 2024, 1:31 AM
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
Lint
Lint Not Applicable
Unit
Tests Not Applicable