HomePhabricator
Diffusion Comm 08b9d725b65e

[keyserver] Update `fetchServerThreadInfos` to include `avatar` field

Tags
None
Referenced Files
F466432: 670fbd.png
Apr 6 2023, 3:34 PM
File Not Attached
F466431: 805340.png
Apr 6 2023, 3:34 PM
File Not Attached
Subscribers
None

Description

[keyserver] Update fetchServerThreadInfos to include avatar field

Summary:
Modify fetchServerThreadInfos to include avatar (if it exists) in response from fetchServerThreadInfos query.


Depends on D7332

Test Plan:
Set breakpoints and verified that avatar field was included in constructed object:

805340.png (1×2 px, 324 KB)

Verified that Redux state was updated to include avatar field (as result of updateThread => commitMembershipChangeset => rawThreadInfosFromServerThreadInfos => createUpdates):

670fbd.png (802×1 px, 122 KB)

Reviewers: ashoat, ginsu

Reviewed By: ashoat

Subscribers: tomek

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

Details

Provenance
atulAuthored on Apr 6 2023, 2:17 PM
Reviewer
ashoat
Differential Revision
D7333: [keyserver] Update `fetchServerThreadInfos` to include `avatar` field
Parents
rCOMMcb7dec7447bf: [keyserver] Modify `updateThread` to handle `avatar`s
Branches
Unknown
Tags
Unknown