Remove unused token (#3331)

Part of https://github.com/matrix-org/dendrite/issues/3225
This commit is contained in:
Till 2024-02-19 20:19:06 +01:00 committed by GitHub
parent e9deb5244e
commit ecb7b383e9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -93,7 +93,6 @@ func UploadKeys(req *http.Request, keyAPI api.ClientKeyAPI, device *api.Device)
type queryKeysRequest struct {
Timeout int `json:"timeout"`
Token string `json:"token"`
DeviceKeys map[string][]string `json:"device_keys"`
}
@ -119,7 +118,6 @@ func QueryKeys(req *http.Request, keyAPI api.ClientKeyAPI, device *api.Device) u
UserID: device.UserID,
UserToDevices: r.DeviceKeys,
Timeout: r.GetTimeout(),
// TODO: Token?
}, &queryRes)
return util.JSONResponse{
Code: 200,