mirror of
https://github.com/hoernschen/dendrite.git
synced 2025-08-01 22:02:46 +00:00
Sanity checking of uploads
This commit is contained in:
parent
701ffdeb36
commit
dd33f2b76d
4 changed files with 135 additions and 52 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue