HomePhabricator
Diffusion Comm cd377781d242

Add thumbhash field to multimedia messages

Description

Add thumbhash field to multimedia messages

Summary:
Final diff which glues all parts together. Added the thumbHash / thumbnailThumbHash field
to all places where it's needed (plenty of them).
The flow is more or less like that: media mission step -> input-state-container -> keyserver upload endpoint -> database -> upload fetcher -> multimedia message -> client db serialize/deserialize -> multimedia.react.js -> expo-image components.
Also for local uploads: ... -> input-state-container -> redux update message -> ...

Depends on D7803, D7782

Test Plan:
At this point, e2e thumbhash for sending and receiving multimedia messages should work. Sent a few of them, disabled local media cache and artifically delayed decryption To make effect more visible.
Tested both iOS and Android, both encrypted and non-encrypted media.

Reviewers: atul, ashoat

Reviewed By: atul, ashoat

Subscribers: tomek

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

Details

Provenance
bartekAuthored on May 15 2023, 12:04 AM
Reviewer
atul
Differential Revision
D7804: Add thumbhash field to multimedia messages
Parents
rCOMM676e53b30a78: [keyserver] Add thumbhash to upload endpoints
Branches
Unknown
Tags
Unknown