Page MenuHomePhabricator

[lib] Fix currentAsOf
ClosedPublic

Authored by inka on Jan 16 2024, 6:50 AM.
Tags
None
Referenced Files
F3530391: D10652.id35702.diff
Wed, Dec 25, 2:22 AM
F3530390: D10652.id35668.diff
Wed, Dec 25, 2:22 AM
F3530376: D10652.id.diff
Wed, Dec 25, 2:22 AM
F3530371: D10652.diff
Wed, Dec 25, 2:22 AM
Unknown Object (File)
Nov 23 2024, 12:38 AM
Unknown Object (File)
Nov 22 2024, 8:56 PM
Unknown Object (File)
Nov 22 2024, 5:20 PM
Unknown Object (File)
Nov 8 2024, 1:06 AM
Subscribers

Details

Summary

If the keyserver was not present in the message store previously, processedMessageStore.currentAsOf[keyserverID] will be undefined. And max from number and undefined is NaN

Test Plan

Tested that now when a user logs in to a new keyserver and some messages are sent from it, the value is not NaN

Diff Detail

Repository
rCOMM Comm
Branch
inka/login_reducers
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

Harbormaster returned this revision to the author for changes because remote builds failed.Jan 16 2024, 6:59 AM
Harbormaster failed remote builds in B25799: Diff 35668!
inka requested review of this revision.Jan 16 2024, 7:51 AM
This revision is now accepted and ready to land.Jan 16 2024, 6:58 PM
This revision was automatically updated to reflect the committed changes.