Page MenuHomePhabricator

[lib] Introduce newThread helper to message-reducer.js
ClosedPublic

Authored by ashoat on Nov 18 2022, 6:13 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, May 18, 10:27 AM
Unknown Object (File)
Fri, May 10, 8:56 PM
Unknown Object (File)
Apr 17 2024, 3:38 AM
Unknown Object (File)
Apr 17 2024, 3:38 AM
Unknown Object (File)
Apr 17 2024, 3:37 AM
Unknown Object (File)
Apr 17 2024, 3:34 AM
Unknown Object (File)
Apr 5 2024, 3:09 AM
Unknown Object (File)
Mar 25 2024, 8:41 PM
Subscribers
None

Details

Summary

This should be a no-op. The only change is that we will have slightly different pruning times, but that should not be significant.

Test Plan

Flow, and also the other testing I've done for the stack

Diff Detail

Repository
rCOMM Comm
Branch
ashoat/androidNotifIssue
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

atul added inline comments.
lib/reducers/message-reducer.js
133

Ah so the reason we're defining a function instead of an object that we "spread" later is because Date.now() is "dynamic"

This revision is now accepted and ready to land.Nov 21 2022, 10:31 AM
lib/reducers/message-reducer.js
133

Yes