Page MenuHomePhabricator

[lib] Introduce `decodeMinimallyEncodedRawThreadInfo`
ClosedPublic

Authored by atul on Nov 7 2023, 11:56 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Sep 26, 5:11 AM
Unknown Object (File)
Mon, Sep 23, 4:54 AM
Unknown Object (File)
Sun, Sep 22, 5:46 PM
Unknown Object (File)
Sat, Sep 14, 5:09 PM
Unknown Object (File)
Sat, Sep 7, 9:57 AM
Unknown Object (File)
Sat, Sep 7, 9:57 AM
Unknown Object (File)
Sat, Sep 7, 9:57 AM
Unknown Object (File)
Sep 2 2024, 3: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
Lint
Lint Not Applicable
Unit
Tests Not Applicable