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, 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:46 PM
Unknown Object (File)
Fri, Nov 8, 2:42 PM
Unknown Object (File)
Tue, Nov 5, 4:18 AM
Unknown Object (File)
Tue, Nov 5, 4:18 AM
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
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: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