Page MenuHomePhabricator

[lib] Create holder ops for thick thread avatars
ClosedPublic

Authored by bartek on Fri, Sep 20, 6:42 AM.
Tags
None
Referenced Files
F3012512: D13413.id44384.diff
Sat, Oct 19, 3:33 AM
Unknown Object (File)
Tue, Oct 15, 10:51 PM
Unknown Object (File)
Sat, Oct 12, 12:35 AM
Unknown Object (File)
Tue, Oct 8, 3:38 PM
Unknown Object (File)
Mon, Oct 7, 1:47 PM
Unknown Object (File)
Sat, Oct 5, 3:33 PM
Unknown Object (File)
Sat, Oct 5, 9:20 AM
Unknown Object (File)
Thu, Oct 3, 6:07 PM
Subscribers

Details

Summary

Added blob holder operations when changing thick thread avatars.

We want to:

  • Always remove a holder if the old avatar was image
  • Establish holder if the new avatar is image. We want it only for inbound ops. For outbound, the holder is already established during image upload.

Depends on D13411

Test Plan

Created a DM thread with two devices.

  • Set avatar to image on device A. Only device B generated op to establish holder.
  • Changed avatar to another image. Both devices generated op to remove avatar. Only inbound device established holder.
  • Reset avatar to emoji. Both devices removed their avatars

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

bartek held this revision as a draft.
bartek published this revision for review.Fri, Sep 20, 7:09 AM
This revision is now accepted and ready to land.Mon, Sep 23, 12:37 AM