Page MenuHomePhabricator

[lib][native] Merge decryption types into media mission types
ClosedPublic

Authored by bartek on Jan 28 2024, 7:36 AM.
Tags
None
Referenced Files
F4097551: D10853.id36221.diff
Mon, Feb 17, 12:19 AM
Unknown Object (File)
Mon, Feb 10, 12:00 AM
Unknown Object (File)
Sun, Feb 9, 7:37 PM
Unknown Object (File)
Sun, Feb 9, 7:37 PM
Unknown Object (File)
Sun, Feb 9, 7:37 PM
Unknown Object (File)
Jan 14 2025, 1:57 PM
Unknown Object (File)
Jan 11 2025, 12:40 PM
Unknown Object (File)
Jan 11 2025, 12:39 PM
Subscribers

Details

Summary

Previously, the "decryption" step/failure types were separated from media mission types.
I need them to be merged in order to be able to add a new "decryption" step in the media mission when saving multimedia.

Simply moved them to media-types.js and updated fuction types accordingly.

Depends on D10852

Test Plan

Flow

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

bartek held this revision as a draft.
bartek published this revision for review.Jan 28 2024, 11:45 PM

Looks like the steps returned by decryptMedia weren't used before. Good thing you implemented it earlier, though – seems like it made work easier for you here!

This revision is now accepted and ready to land.Jan 29 2024, 9:38 AM

Looks like the steps returned by decryptMedia weren't used before. Good thing you implemented it earlier, though – seems like it made work easier for you here!

Yeah! Both encryptMedia() and decryptMedia() had steps implemented, but previously only the former was used in actual "media missions". Decryption was only needed for clients displaying multimedia.