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)
Wed, Oct 23, 9:11 AM
Unknown Object (File)
Wed, Oct 23, 9:11 AM
Unknown Object (File)
Fri, Oct 18, 10:23 PM
Unknown Object (File)
Oct 18 2024, 1:58 PM
Unknown Object (File)
Oct 10 2024, 4:37 PM
Unknown Object (File)
Oct 2 2024, 2:27 AM
Unknown Object (File)
Oct 2 2024, 2:09 AM
Unknown Object (File)
Sep 29 2024, 9:29 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
Lint
Lint Not Applicable
Unit
Tests Not Applicable