HomePhabricator
Diffusion Comm 36a101ae888b

[keyserver] Update `user-fetchers` to handle image avatars

Description

[keyserver] Update user-fetchers to handle image avatars

Summary: Update the queries in user-fetchers to fetch upload_id and upload_secret from uploads table to create upload URL and include in ClientAvatar.

Test Plan:
Set breakpoints after each query and observed the result set and that the ClientAvatars were constructed correctly.

Verified that I was able to see image avatars on native client:

Simulator Screenshot - Fresh iPhone 14 Pro - 2023-04-11 at 15.29.10.png (2×1 px, 169 KB)

Simulator Screenshot - Fresh iPhone 14 Pro - 2023-04-11 at 15.30.05.png (2×1 px, 160 KB)

Simulator Screenshot - Fresh iPhone 14 Pro - 2023-04-11 at 15.29.25.png (2×1 px, 193 KB)

Simulator Screenshot - Fresh iPhone 14 Pro - 2023-04-11 at 15.29.06.png (2×1 px, 187 KB)

Simulator Screenshot - Fresh iPhone 14 Pro - 2023-04-11 at 15.29.57.png (2×1 px, 291 KB)

Simulator Screenshot - Fresh iPhone 14 Pro - 2023-04-11 at 15.29.15.png (2×1 px, 337 KB)

Reviewers: ginsu, ashoat

Reviewed By: ashoat

Subscribers: tomek

Differential Revision: https://phab.comm.dev/D7385

Details

Provenance
atulAuthored on Apr 11 2023, 5:55 PM
Reviewer
ashoat
Differential Revision
D7385: [keyserver] Update `user-fetchers` to handle image avatars
Parents
rCOMMaa8c28720430: [services] remove identity.proto
Branches
Unknown
Tags
Unknown