mirror of
https://github.com/matrix-org/dendrite.git
synced 2026-01-03 20:23:09 -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
|
var keysToStore []api.DeviceMessage
|
||||||
|
|
||||||
if req.OnlyDisplayNameUpdates {
|
if req.OnlyDisplayNameUpdates {
|
||||||
keysToStore = append(keysToStore, existingKeys...)
|
|
||||||
for _, existingKey := range existingKeys {
|
for _, existingKey := range existingKeys {
|
||||||
for _, newKey := range req.DeviceKeys {
|
for _, newKey := range req.DeviceKeys {
|
||||||
switch {
|
switch {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue