HomePhabricator
Diffusion Comm 67c0447e210d

[web] Add function to decrypt media

Description

[web] Add function to decrypt media

Summary: Web counterpart of D7224. It slightly differs from the native counterpart. A key difference is that we save it as a blob and generate object URL for that.

Test Plan: Called this function giving url to encrypted media. Set returned url as an image source. Confirmed the image is displayed

Reviewers: atul, marcin, kamil

Reviewed By: marcin

Subscribers: ashoat, tomek

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

Details

Provenance
bartekAuthored on Mar 31 2023, 6:01 AM
Reviewer
marcin
Differential Revision
D7268: [web] Add function to decrypt media
Parents
rCOMM24dc6a97c227: [keyserver] Support encrypted media in create_multimedia_message
Branches
Unknown
Tags
Unknown