SendEditMessageResult is used only in dispatchActionPromise, other than that we only care about success/failure.
With that change, we're able to use this hook also for DMs where SendEditMessageResult is not existing.
Paths
| Differential D13186 Authored by kamil on Aug 28 2024, 2:53 AM.
Details Summary SendEditMessageResult is used only in dispatchActionPromise, other than that we only care about success/failure. With that change, we're able to use this hook also for DMs where SendEditMessageResult is not existing. Test Plan Editing still works
Diff Detail
Event Timelinekamil held this revision as a draft. Herald added a subscriber: ashoat. · View Herald TranscriptAug 28 2024, 2:53 AM2024-08-28 02:53:30 (UTC-7) kamil added a child revision: D13187: [lib] add editing DM messages.Aug 28 2024, 2:56 AM2024-08-28 02:56:12 (UTC-7) Harbormaster completed remote builds in B31314: Diff 43722.Aug 28 2024, 3:12 AM2024-08-28 03:12:47 (UTC-7) This revision is now accepted and ready to land.Aug 28 2024, 5:34 AM2024-08-28 05:34:58 (UTC-7) Harbormaster completed remote builds in B31334: Diff 43744.Aug 28 2024, 6:56 AM2024-08-28 06:56:01 (UTC-7) Closed by commit rCOMM6cc6e90afda0: [lib][native] update `useEditMessage` return type (authored by kamil). · Explain WhyAug 28 2024, 8:33 AM2024-08-28 08:33:25 (UTC-7) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 43760 lib/shared/edit-messages-utils.js
native/chat/chat-input-bar.react.js
|