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)
Sun, Nov 10, 5:04 AM
Unknown Object (File)
Thu, Oct 31, 6:31 PM
Unknown Object (File)
Thu, Oct 31, 6:31 PM
Unknown Object (File)
Thu, Oct 31, 6:31 PM
Unknown Object (File)
Thu, Oct 31, 6:31 PM
Unknown Object (File)
Oct 1 2024, 3:22 AM
Unknown Object (File)
Oct 1 2024, 3:22 AM
Unknown Object (File)
Oct 1 2024, 3:22 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.