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
Differential D11819
[lib] Introduce `useCanToggleMessagePin` and consume in `native/Message` Authored by atul on Apr 26 2024, 7:55 PM.
Details 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 flow + close reading
Diff Detail
|