This commit is contained in:
Neil Alexander 2022-04-29 13:58:59 +01:00
parent 8e13fb89d0
commit 5513f31b38
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944

View file

@ -634,7 +634,6 @@ func (a *KeyInternalAPI) uploadLocalDeviceKeys(ctx context.Context, req *api.Per
var keysToStore []api.DeviceMessage
if req.OnlyDisplayNameUpdates {
keysToStore = append(keysToStore, existingKeys...)
for _, existingKey := range existingKeys {
for _, newKey := range req.DeviceKeys {
switch {