Page MenuHomePhabricator

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

Authored by will on Sep 17 2024, 7:17 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 22, 8:32 AM
Unknown Object (File)
Thu, Nov 21, 8:42 PM
Unknown Object (File)
Wed, Nov 20, 7:02 AM
Unknown Object (File)
Wed, Nov 20, 6:39 AM
Unknown Object (File)
Oct 23 2024, 9:11 AM
Unknown Object (File)
Oct 23 2024, 9:11 AM
Unknown Object (File)
Oct 18 2024, 10:23 PM
Unknown Object (File)
Oct 18 2024, 1:58 PM
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