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)
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
Unknown Object (File)
Sep 27 2024, 5:24 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

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

Agree - updating