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
F3265853: D7410.id25103.diff
Sat, Nov 16, 1:34 AM
F3264808: D7410.id25368.diff
Sat, Nov 16, 12:49 AM
F3260460: D7410.diff
Fri, Nov 15, 10:38 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: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