aboutsummaryrefslogtreecommitdiff
path: root/keyserver
diff options
context:
space:
mode:
authorNeil Alexander <neilalexander@users.noreply.github.com>2022-03-24 10:03:22 +0000
committerNeil Alexander <neilalexander@users.noreply.github.com>2022-03-24 10:03:22 +0000
commitd983d17355584b7de086389e069a935f1a5510a1 (patch)
tree0920bd8f9a5f64ac749397cf012904b8275a6d52 /keyserver
parent6c95f9b535191bc28cb983a6fa0eab036dc40916 (diff)
Fix lint errors
Diffstat (limited to 'keyserver')
-rw-r--r--keyserver/internal/internal.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/keyserver/internal/internal.go b/keyserver/internal/internal.go
index cc9d3a61..a05476f5 100644
--- a/keyserver/internal/internal.go
+++ b/keyserver/internal/internal.go
@@ -223,6 +223,7 @@ func (a *KeyInternalAPI) QueryDeviceMessages(ctx context.Context, req *api.Query
res.StreamID = maxStreamID
}
+// nolint:gocyclo
func (a *KeyInternalAPI) QueryKeys(ctx context.Context, req *api.QueryKeysRequest, res *api.QueryKeysResponse) {
res.DeviceKeys = make(map[string]map[string]json.RawMessage)
res.MasterKeys = make(map[string]gomatrixserverlib.CrossSigningKey)