Page MenuHomePhabricator

[lib] Replace `threadHasPermission` with `useThreadHasPermission` in `useCanEditMessage`
ClosedPublic

Authored by atul on Fri, Apr 26, 12:49 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, May 6, 12:34 AM
Unknown Object (File)
Mon, May 6, 12:34 AM
Unknown Object (File)
Thu, May 2, 12:18 AM
Unknown Object (File)
Tue, Apr 30, 7:36 PM
Unknown Object (File)
Mon, Apr 29, 3:24 PM
Subscribers
None

Details

Summary

Similar to D11791, but for useCanEditMessage.


Depends on D11792

Test Plan

flow + close reading

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

atul requested review of this revision.Fri, Apr 26, 1:07 PM
ashoat added inline comments.
lib/shared/edit-messages-utils.js
61 ↗(On Diff #39595)

I think we should do this this instead

73–77 ↗(On Diff #39595)

And then this

This revision is now accepted and ready to land.Sat, Apr 27, 6:41 PM
This revision was landed with ongoing or failed builds.Thu, May 2, 9:59 AM
This revision was automatically updated to reflect the committed changes.