Page MenuHomePhabricator

[lib] update `processDMOpsActionType` to handle composable DM messages
ClosedPublic

Authored by kamil on Sep 13 2024, 3:40 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Nov 3, 6:46 AM
Unknown Object (File)
Mon, Oct 21, 5:43 AM
Unknown Object (File)
Sun, Oct 20, 2:58 PM
Unknown Object (File)
Sun, Oct 20, 2:58 PM
Unknown Object (File)
Sun, Oct 20, 2:58 PM
Unknown Object (File)
Sun, Oct 20, 2:57 PM
Unknown Object (File)
Mon, Oct 14, 2:29 PM
Unknown Object (File)
Sun, Oct 13, 6:31 PM
Subscribers

Details

Summary

ENG-8424.

Previously it was done using sendDMActionTypes.started - but this code will be removed later in the stack.

Depends on D13323

Test Plan

Tested, that only when sending text message outboundP2PMessageIDs is set, and failed messages are persisted.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

kamil held this revision as a draft.
kamil published this revision for review.Sep 13 2024, 4:34 AM
kamil added inline comments.
lib/reducers/message-reducer.js
1926 ↗(On Diff #44137)
tomek added inline comments.
lib/reducers/message-reducer.js
1908–1909 ↗(On Diff #44137)

Do we still need to keep these two conditions?

This revision is now accepted and ready to land.Sep 13 2024, 6:14 AM
lib/reducers/message-reducer.js
1908–1909 ↗(On Diff #44137)

yeah, otherwise Flow complains