Page MenuHomePhabricator

[native] Support avatar uploads to blob service
ClosedPublic

Authored by bartek on Nov 1 2023, 1:07 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Dec 15, 5:51 PM
Unknown Object (File)
Sun, Dec 15, 5:51 PM
Unknown Object (File)
Sun, Dec 15, 5:51 PM
Unknown Object (File)
Sun, Dec 15, 5:51 PM
Unknown Object (File)
Sun, Dec 15, 5:51 PM
Unknown Object (File)
Sun, Dec 15, 5:49 PM
Unknown Object (File)
Sun, Dec 15, 5:28 PM
Unknown Object (File)
Wed, Dec 11, 5:03 PM
Subscribers

Details

Summary

This diff enables avatar uploads to blob service on native. Modified the hook to conditionally use function that uploads avatar to blob service instead of keyserver. This is very similar to what we currently do with multimedia messages.

Depends on D9668

Test Plan

Similiar to D9170 test plan, but on native:

Tested on both user and thread avatars.
With the flag set to true, changed the avatar to an image and used TablePlus to verify MariaDB contents (this tests changes to D9168). Also, the avatar was then displayed correctly (which is more deeply tested in D9624 and D9668)

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

bartek held this revision as a draft.
bartek published this revision for review.Nov 1 2023, 2:00 AM
This revision is now accepted and ready to land.Nov 1 2023, 8:31 PM

Rebase on multi-keyserver action update