mirror of
https://github.com/matrix-org/dendrite.git
synced 2026-01-01 11:13:12 -06:00
Fix bug
This commit is contained in:
parent
8e13fb89d0
commit
5513f31b38
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue