Page MenuHomePhabricator

[lib][native][web] send encrypted dms on web and native when deleting on thick threads
ClosedPublic

Authored by will on Sep 16 2024, 1:26 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Nov 7, 8:44 AM
Unknown Object (File)
Thu, Nov 7, 6:08 AM
Unknown Object (File)
Fri, Oct 25, 8:42 AM
Unknown Object (File)
Thu, Oct 24, 7:42 PM
Unknown Object (File)
Wed, Oct 23, 9:12 AM
Unknown Object (File)
Wed, Oct 23, 9:12 AM
Unknown Object (File)
Wed, Oct 23, 9:12 AM
Unknown Object (File)
Wed, Oct 23, 9:12 AM
Subscribers
None

Details

Summary

Sends encrypted dms when deleting entries in a thick thread

Depends on D13344

Test Plan

test plan similar as previous. Four platforms with two accounts in-between them all in a thick thread. Deleted entries and confirmed they deleted on all four platforms

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

will requested review of this revision.Sep 16 2024, 1:55 AM
tomek requested changes to this revision.Sep 16 2024, 5:39 AM
tomek added inline comments.
lib/actions/entry-actions.js
449 ↗(On Diff #44199)

This can get confused with the entry's timestamp.

lib/types/dm-ops.js
404–418 ↗(On Diff #44199)

Can we keep the shape consistent with all the other operations and keep the timestamp in time property? What do these two timestamps mean?

This revision now requires changes to proceed.Sep 16 2024, 5:39 AM

update lastUpdatedTime in delete entry op to be time

This revision is now accepted and ready to land.Sep 16 2024, 8:48 AM

update useDeleteEntry to await sending DM op