aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTill <2353100+S7evinK@users.noreply.github.com>2024-02-19 20:19:06 +0100
committerGitHub <noreply@github.com>2024-02-19 19:19:06 +0000
commitecb7b383e99489839b75c0f5ab2cf6e853780bb1 (patch)
tree50aab29ea93c11bb0c6aa8dde439b6a36a2749c2
parente9deb5244edd4827234622ea0d3b11678a33b0ac (diff)
Remove unused `token` (#3331)
Part of https://github.com/matrix-org/dendrite/issues/3225
-rw-r--r--clientapi/routing/keys.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/clientapi/routing/keys.go b/clientapi/routing/keys.go
index 72785cda..871b8b08 100644
--- a/clientapi/routing/keys.go
+++ b/clientapi/routing/keys.go
@@ -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,