Page MenuHomePhabricator

[lib] generate message store ops for threads while creating fresh store
ClosedPublic

Authored by kamil on Apr 13 2023, 1:03 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Dec 6, 5:11 AM
Unknown Object (File)
Thu, Dec 5, 1:29 AM
Unknown Object (File)
Thu, Dec 5, 1:28 AM
Unknown Object (File)
Nov 16 2024, 2:01 AM
Unknown Object (File)
Nov 16 2024, 1:34 AM
Unknown Object (File)
Nov 16 2024, 12:49 AM
Unknown Object (File)
Nov 15 2024, 10:38 PM
Unknown Object (File)
Nov 8 2024, 2:46 PM
Subscribers

Details

Summary

This code generates operations need for creating fresh threads.

Depends on D7398

Test Plan

Log in/out multiple times on bot web and native nad check for warning 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:25 AM
tomek added inline comments.
lib/reducers/message-reducer.js
205–215 ↗(On Diff #25103)

It might be a little safer to change the order here. If we decide to use foreign keys in our db, we don't want for our new messages to be removed by cascade delete. Currently it doesn't change anything, but this ordering is less confusing.

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

change ops order

lib/reducers/message-reducer.js
205–215 ↗(On Diff #25103)

makes sense - updating