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
F3253551: D7419.id25372.diff
Fri, Nov 15, 7:12 PM
Unknown Object (File)
Fri, Nov 8, 2:46 PM
Unknown Object (File)
Fri, Nov 8, 2:46 PM
Unknown Object (File)
Fri, Nov 8, 2:46 PM
Unknown Object (File)
Fri, Nov 8, 2:46 PM
Unknown Object (File)
Fri, Nov 8, 2:42 PM
Unknown Object (File)
Tue, Nov 5, 4:21 AM
Unknown Object (File)
Wed, Oct 23, 2:10 AM
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
Lint Not Applicable
Unit
Tests Not Applicable

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