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
Paths
| Differential D11819 Authored by atul on Apr 26 2024, 12:55 PM.
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
Event TimelineHarbormaster completed remote builds in B28542: Diff 39598.Apr 26 2024, 1:22 PM2024-04-26 13:22:16 (UTC-7) This revision is now accepted and ready to land.Apr 27 2024, 6:47 PM2024-04-27 18:47:10 (UTC-7) This revision was landed with ongoing or failed builds.May 3 2024, 1:01 PM2024-05-03 13:01:23 (UTC-7) Closed by commit rCOMM30dbaeafde23: [lib] Introduce `useCanToggleMessagePin` and consume in `native/Message` (authored by atul). · Explain Why This revision was automatically updated to reflect the committed changes. Harbormaster completed remote builds in B28643: Diff 39762.May 3 2024, 1:09 PM2024-05-03 13:09:06 (UTC-7)
Revision Contents
Diff 39766 lib/utils/message-pinning-utils.js
native/chat/message.react.js
|