Page MenuHomePhabricator

[lib] Introduce `useCanToggleMessagePin` and consume in `native/Message`
ClosedPublic

Authored by atul on Apr 26 2024, 12:55 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Nov 13, 7:57 PM
Unknown Object (File)
Wed, Nov 13, 12:50 PM
Unknown Object (File)
Tue, Nov 12, 3:20 PM
Unknown Object (File)
Tue, Nov 12, 2:57 PM
Unknown Object (File)
Tue, Nov 12, 2:24 PM
Unknown Object (File)
Oct 10 2024, 8:06 PM
Unknown Object (File)
Oct 10 2024, 8:06 PM
Unknown Object (File)
Oct 10 2024, 8:06 PM
Subscribers
None

Details

Summary

Hook version of canToggleMessagePin so we can consume useThreadHasPermission instead of threadHasPermission.

Will leave canToggleMessagePin around since we can still use it on keyserver with RawThreadInfo.


Depends on D11818

Test Plan

flow + close reading

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage