diff --git a/clientapi/routing/key_crosssigning.go b/clientapi/routing/key_crosssigning.go index 027c5ae7..a1d99fe9 100644 --- a/clientapi/routing/key_crosssigning.go +++ b/clientapi/routing/key_crosssigning.go @@ -71,10 +71,6 @@ func UploadCrossSigningDeviceKeys( } AddCompletedSessionStage(sessionID, authtypes.LoginTypePassword) - if err := httputil.UnmarshalJSONRequest(req, &uploadReq.CrossSigningKeys); err != nil { - return *err - } - keyserverAPI.PerformUploadDeviceKeys(req.Context(), &uploadReq.PerformUploadDeviceKeysRequest, uploadRes) if err := uploadRes.Error; err != nil { switch {