From 46e3dc9cad29b9ed7ae85473affc18583d949920 Mon Sep 17 00:00:00 2001 From: Richard van der Hoff Date: Wed, 22 Nov 2017 23:20:44 +0000 Subject: [PATCH] Update KeyDB for new KeyFetcher API we now need to implement FetcherName. --- src/github.com/matrix-org/dendrite/common/keydb/keydb.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/github.com/matrix-org/dendrite/common/keydb/keydb.go b/src/github.com/matrix-org/dendrite/common/keydb/keydb.go index 9e59f0cae..8d2be24d7 100644 --- a/src/github.com/matrix-org/dendrite/common/keydb/keydb.go +++ b/src/github.com/matrix-org/dendrite/common/keydb/keydb.go @@ -44,6 +44,11 @@ func NewDatabase(dataSourceName string) (*Database, error) { return d, nil } +// FetcherName implements KeyFetcher +func (d Database) FetcherName() string { + return "KeyDatabase" +} + // FetchKeys implements gomatrixserverlib.KeyDatabase func (d *Database) FetchKeys( ctx context.Context,