HomePhabricator
Diffusion Comm a68cc470651e

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

Description

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

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.

Reviewers: kamil, tomek

Reviewed By: kamil

Subscribers: ashoat

Differential Revision: https://phab.comm.dev/D13517

Details

Provenance
bartekAuthored on Mon, Sep 30, 3:48 AM
Reviewer
kamil
Differential Revision
D13517: [lib] Don't prefix keyserver-owned holders with device ID
Parents
rCOMMc5cb285b30cf: [keyserver] Remove holders in account deleters
Branches
Unknown
Tags
Unknown