HomePhabricator
Diffusion Comm c298aa5173e1

[native] Encrypt files during media mission

Description

[native] Encrypt files during media mission

Summary:
This is final diff that allows sending encrypted messages on native. The shouldEncryptMedia boolean has been introduced as a feature flag. Now it's hardcoded to false, but we want to enable it only for Comm community (ENG-3526) - this will be done in another diff.

The whole function becomes kind of spaghetti - a refactor follow-up wouldn't be a bad idea

Depends on D7234, D7235

Test Plan:
Sending multimedia works as before when the flag is false.
Set it to true, then send both photos and videos. Ensure both work as expected

Reviewers: atul, marcin, ashoat

Reviewed By: atul, ashoat

Subscribers: tomek

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

Details

Provenance
bartekAuthored on Mar 29 2023, 6:36 AM
Reviewer
atul
Differential Revision
D7236: [native] Encrypt files during media mission
Parents
rCOMMc2ef783d9fe2: [lib] Support encrypted media types in updateMultimediaMessageMediaAction
Branches
Unknown
Tags
Unknown