mirror of
https://github.com/matrix-org/dendrite.git
synced 2026-01-03 12:13:09 -06:00
Fix another bug
This commit is contained in:
parent
5513f31b38
commit
eac5af7d31
|
|
@ -637,7 +637,7 @@ func (a *KeyInternalAPI) uploadLocalDeviceKeys(ctx context.Context, req *api.Per
|
||||||
for _, existingKey := range existingKeys {
|
for _, existingKey := range existingKeys {
|
||||||
for _, newKey := range req.DeviceKeys {
|
for _, newKey := range req.DeviceKeys {
|
||||||
switch {
|
switch {
|
||||||
case existingKey.UserID != newKey.DeviceID:
|
case existingKey.UserID != newKey.UserID:
|
||||||
continue
|
continue
|
||||||
case existingKey.DeviceID != newKey.DeviceID:
|
case existingKey.DeviceID != newKey.DeviceID:
|
||||||
continue
|
continue
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue