Sanity checking of uploads

This commit is contained in:
Neil Alexander 2021-07-28 17:07:57 +01:00
parent 701ffdeb36
commit dd33f2b76d
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944
4 changed files with 135 additions and 52 deletions

View file

@ -159,6 +159,8 @@ type PerformClaimKeysResponse struct {
type PerformUploadDeviceKeysRequest struct {
gomatrixserverlib.CrossSigningKeys
// The user that uploaded the key, should be populated by the clientapi.
UserID string `json:"user_id"`
}
type PerformUploadDeviceKeysResponse struct {
@ -167,6 +169,8 @@ type PerformUploadDeviceKeysResponse struct {
type PerformUploadDeviceSignaturesRequest struct {
gomatrixserverlib.CrossSigningSignatures
// The user that uploaded the sig, should be populated by the clientapi.
UserID string `json:"user_id"`
}
type PerformUploadDeviceSignaturesResponse struct {