Page MenuHomePhabricator

[web] move reaction message action type logic into useSendReaction
ClosedPublic

Authored by ginsu on Aug 2 2023, 12:30 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Dec 21, 2:35 PM
Unknown Object (File)
Wed, Dec 18, 10:57 AM
Unknown Object (File)
Wed, Dec 18, 10:34 AM
Unknown Object (File)
Tue, Nov 26, 6:04 AM
Unknown Object (File)
Tue, Nov 26, 4:53 AM
Unknown Object (File)
Sat, Nov 23, 11:41 PM
Unknown Object (File)
Sat, Nov 23, 11:41 PM
Unknown Object (File)
Sat, Nov 23, 11:41 PM
Subscribers

Details

Summary

This diff brings in the logic which determines if we are reacting or unreacting to a message into the useSendReaction hook. I don't know why we didn't do this initially, but this diff resolves this and will make it so we don't need to copy/paste this logic when we call useSendReaction with the InlineEngagement

Depends on D8710

Test Plan

flow and confirmed that I can still react and unreact to messages

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

ginsu published this revision for review.Aug 2 2023, 12:31 PM
ginsu edited the summary of this revision. (Show Details)
ginsu added reviewers: atul, kamil.
This revision is now accepted and ready to land.Aug 3 2023, 9:36 PM