Fix lint errors

This commit is contained in:
Neil Alexander 2022-03-24 10:03:22 +00:00
parent 6c95f9b535
commit d983d17355
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944
11 changed files with 30 additions and 48 deletions

View file

@ -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)