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 -> ...
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