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)
Sat, Dec 21, 2:56 PM
Unknown Object (File)
Sat, Dec 21, 2:56 PM
Unknown Object (File)
Sat, Dec 21, 2:56 PM
Unknown Object (File)
Sat, Dec 21, 2:55 PM
Unknown Object (File)
Sat, Dec 21, 2:54 PM
Unknown Object (File)
Sat, Nov 30, 1:13 AM
Unknown Object (File)
Sat, Nov 30, 12:14 AM
Unknown Object (File)
Nov 26 2024, 8:58 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
Lint Not Applicable
Unit
Tests Not Applicable