Page MenuHomePhabricator

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

Authored by bartek on Mon, Sep 30, 4:37 AM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Oct 1, 11:40 AM
Unknown Object (File)
Tue, Oct 1, 11:39 AM
Unknown Object (File)
Tue, Oct 1, 11:36 AM
Unknown Object (File)
Tue, Oct 1, 5:59 AM
Unknown Object (File)
Mon, Sep 30, 6:44 AM
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