aboutsummaryrefslogtreecommitdiff
path: root/keyserver/api/api.go
diff options
context:
space:
mode:
authorKegsay <kegan@matrix.org>2020-07-30 11:15:46 +0100
committerGitHub <noreply@github.com>2020-07-30 11:15:46 +0100
commit9355fb5ac8c911bdbde6dcc0f279f716d8a8f60b (patch)
treec6a155f7b65e25c8ab4abaf7413fbb0531a02b12 /keyserver/api/api.go
parent0fdd4f14d123e76bd3d0368947d3aab84a787946 (diff)
Hook up device list updates to the sync notifier (#1231)
* WIP hooking up key changes * Fix import cycle, get tests passing and binary compiling * Linting and update whitelist
Diffstat (limited to 'keyserver/api/api.go')
-rw-r--r--keyserver/api/api.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/keyserver/api/api.go b/keyserver/api/api.go
index 406a252d..c9afb09c 100644
--- a/keyserver/api/api.go
+++ b/keyserver/api/api.go
@@ -143,6 +143,8 @@ type QueryKeyChangesRequest struct {
type QueryKeyChangesResponse struct {
// The set of users who have had their keys change.
UserIDs []string
+ // The partition being served - useful if the partition is unknown at request time
+ Partition int32
// The latest offset represented in this response.
Offset int64
// Set if there was a problem handling the request.