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)
Wed, Dec 11, 5:44 AM
Unknown Object (File)
Sun, Nov 24, 8:19 PM
Unknown Object (File)
Sun, Nov 24, 1:33 AM
Unknown Object (File)
Oct 29 2024, 12:48 PM
Unknown Object (File)
Oct 12 2024, 10:38 AM
Unknown Object (File)
Sep 29 2024, 11:27 PM
Unknown Object (File)
Sep 29 2024, 11:27 PM
Unknown Object (File)
Sep 29 2024, 11:26 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