HomePhabricator
Diffusion Comm 928a3c32f387

[keyserver] Update `updateUserAvatar` to construct `ClientImageAvatar`

Description

[keyserver] Update updateUserAvatar to construct ClientImageAvatar

Summary:
Update updateUserAvatar to return properly constructed ClientImageAvatar if the request was of type image.


Depends on D7404

Test Plan:

  1. Set image avatar for user
  2. Observe that UPDATE_USER_AVATAR_SUCCESS payload includes correctly constructed ClientImageAvatar
  3. Observe that UserAvatar component looks correct throughout native

Reviewers: ashoat, ginsu

Reviewed By: ashoat

Subscribers: tomek

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

Details

Provenance
atulAuthored on Apr 13 2023, 7:29 AM
Reviewer
ashoat
Differential Revision
D7406: [keyserver] Update `updateUserAvatar` to construct `ClientImageAvatar`
Parents
rCOMM92a4f4e73e54: [keyserver] Update `updateUserAvatar` to handle image avatars
Branches
Unknown
Tags
Unknown