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` atul on Fri, Apr 26, 12:55 PM. Authored by Tags None Referenced Files
Subscribers None
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
|