Page MenuHomePhabricator

[lib] Don't prefix keyserver-owned holders with device ID
ClosedPublic

Authored by bartek on Sep 30 2024, 4:37 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Dec 16, 2:24 PM
Unknown Object (File)
Mon, Dec 16, 2:24 PM
Unknown Object (File)
Mon, Dec 16, 2:24 PM
Unknown Object (File)
Wed, Dec 4, 1:09 PM
Unknown Object (File)
Wed, Dec 4, 1:09 PM
Unknown Object (File)
Wed, Dec 4, 1:08 PM
Unknown Object (File)
Wed, Dec 4, 1:08 PM
Unknown Object (File)
Wed, Dec 4, 12:53 PM
Subscribers

Details

Summary

When uploading media metadata to keyserver, we shouldn't prefix holders with device ID because the holder's owner is actually the keyserver, not the uploading device.
Modified logic to only add prefix if not uploading metadata to keyserver.

Test Plan

Uploaded media to a thin thread and thick thread. The latter had deviceID prefix, the former did not.

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage