mirror of
https://github.com/element-hq/dendrite.git
synced 2025-09-13 12:52:24 +03:00
fix device deletion
This commit is contained in:
parent
331a6f221b
commit
3784aa4562
1 changed files with 1 additions and 1 deletions
|
@ -337,7 +337,7 @@ func (a *UserInternalAPI) PerformDeviceDeletion(ctx context.Context, req *api.Pe
|
|||
deleteReq := &api.PerformDeleteKeysRequest{
|
||||
UserID: req.UserID,
|
||||
}
|
||||
for _, keyID := range req.DeviceIDs {
|
||||
for _, keyID := range deletedDeviceIDs {
|
||||
deleteReq.KeyIDs = append(deleteReq.KeyIDs, gomatrixserverlib.KeyID(keyID))
|
||||
}
|
||||
deleteRes := &api.PerformDeleteKeysResponse{}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue