Page MenuHomePhabricator

[lib] have edit entry message infos use e2ee op timestamp instead of creationTime
ClosedPublic

Authored by will on Tue, Sep 17, 7:17 AM.
Tags
None
Referenced Files
F2844305: D13361.diff
Sun, Sep 29, 7:30 PM
F2840672: D13361.id44270.diff
Sun, Sep 29, 7:02 AM
Unknown Object (File)
Fri, Sep 27, 10:13 AM
Unknown Object (File)
Fri, Sep 27, 2:10 AM
Unknown Object (File)
Fri, Sep 27, 12:14 AM
Unknown Object (File)
Fri, Sep 27, 12:08 AM
Unknown Object (File)
Thu, Sep 26, 11:27 AM
Unknown Object (File)
Thu, Sep 26, 10:00 AM
Subscribers
None

Details

Summary

Addresses out of order edit and create robotexts. I introduced a bug by setting the message info timestamp to the creationTime instead of the time the edit op was created.

This results in out of order robotext for creating and editing entries. The fix is to use the op creation timestamp instead of creationTime which is when the entry was created.

Test Plan

Tested on iOS simulator. entries are back in order.

Diff Detail

Repository
rCOMM Comm
Branch
fix_entry_robotext
Lint
No Lint Coverage
Unit
No Test Coverage