Page MenuHomePhabricator

[keyserver] Upload both multimedia holder and blob_hash
ClosedPublic

Authored by bartek on Jun 20 2023, 5:16 AM.
Tags
None
Referenced Files
F3351841: D8256.id27883.diff
Sat, Nov 23, 3:48 AM
F3351354: D8256.diff
Sat, Nov 23, 1:11 AM
Unknown Object (File)
Sun, Nov 10, 12:33 PM
Unknown Object (File)
Sat, Nov 9, 4:19 AM
Unknown Object (File)
Fri, Nov 8, 9:37 AM
Unknown Object (File)
Fri, Nov 8, 8:03 AM
Unknown Object (File)
Fri, Nov 8, 7:53 AM
Unknown Object (File)
Fri, Nov 8, 7:53 AM
Subscribers

Details

Summary

Resolves ENG-3962 and its subtasks. It turned out to be a one-line change on client side.
Basically, added a blobHash field to endpoint input types and passed it all the way down input-state-container -> uploadMediaMetadata endpoint -> createUploads() -> db

Test Plan

Enabled blob service uploads on web and uploaded a photo. Checked in TablePlus that both values are stored on the keyserver. Repeated for native.

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable