mirror of
https://github.com/element-hq/dendrite.git
synced 2025-09-14 13:22:26 +03:00
msc3861: delete QueryMasterKeys function and related as it's redundant and no longer needed
This commit is contained in:
parent
ff2ba0313a
commit
c490badadc
9 changed files with 21 additions and 118 deletions
|
@ -672,7 +672,6 @@ type QueryAccountByLocalpartResponse struct {
|
|||
type ClientKeyAPI interface {
|
||||
UploadDeviceKeysAPI
|
||||
QueryKeys(ctx context.Context, req *QueryKeysRequest, res *QueryKeysResponse)
|
||||
QueryMasterKeys(ctx context.Context, req *QueryMasterKeysRequest, res *QueryMasterKeysResponse)
|
||||
PerformUploadKeys(ctx context.Context, req *PerformUploadKeysRequest, res *PerformUploadKeysResponse) error
|
||||
|
||||
PerformUploadDeviceSignatures(ctx context.Context, req *PerformUploadDeviceSignaturesRequest, res *PerformUploadDeviceSignaturesResponse)
|
||||
|
@ -934,16 +933,6 @@ type QueryKeysResponse struct {
|
|||
Error *KeyError
|
||||
}
|
||||
|
||||
type QueryMasterKeysRequest struct {
|
||||
UserID string
|
||||
}
|
||||
|
||||
type QueryMasterKeysResponse struct {
|
||||
Key spec.Base64Bytes
|
||||
// Set if there was a fatal error processing this query
|
||||
Error *KeyError
|
||||
}
|
||||
|
||||
type QueryKeyChangesRequest struct {
|
||||
// The offset of the last received key event, or sarama.OffsetOldest if this is from the beginning
|
||||
Offset int64
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue