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
Unknown Object (File)
Mon, May 13, 2:35 PM
Unknown Object (File)
Thu, Apr 18, 8:55 AM
Unknown Object (File)
Thu, Apr 18, 8:55 AM
Unknown Object (File)
Thu, Apr 18, 8:55 AM
Unknown Object (File)
Thu, Apr 18, 8:55 AM
Unknown Object (File)
Apr 6 2024, 3:06 AM
Unknown Object (File)
Mar 13 2024, 7:35 PM
Unknown Object (File)
Mar 11 2024, 11:28 AM
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.