Page MenuHomePhabricator

[lib] generate message store ops for threads after creating local message
ClosedPublic

Authored by kamil on Apr 13 2023, 7:34 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Dec 5, 1:30 AM
Unknown Object (File)
Nov 15 2024, 9:40 PM
Unknown Object (File)
Nov 15 2024, 7:12 PM
Unknown Object (File)
Nov 8 2024, 2:46 PM
Unknown Object (File)
Nov 8 2024, 2:46 PM
Unknown Object (File)
Nov 8 2024, 2:46 PM
Unknown Object (File)
Nov 8 2024, 2:46 PM
Unknown Object (File)
Nov 8 2024, 2:42 PM
Subscribers

Details

Summary

This code generates operations needed for updating threads part of message store after creating local message.

Depends on D7418

Test Plan

Try to send message some media messages nad check is there are no errors in console.

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

kamil held this revision as a draft.
kamil published this revision for review.Apr 13 2023, 8:29 AM
tomek added inline comments.
lib/reducers/message-reducer.js
1523–1572 ↗(On Diff #25108)

I guess it might be simpler if updatedThreads variable wasn't created

This revision is now accepted and ready to land.Apr 17 2023, 5:43 AM

avoid creating additional variable

lib/reducers/message-reducer.js
1523–1572 ↗(On Diff #25108)

Agree - updating