aboutsummaryrefslogtreecommitdiff
path: root/roomserver/input/input.go
diff options
context:
space:
mode:
Diffstat (limited to 'roomserver/input/input.go')
-rw-r--r--roomserver/input/input.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/roomserver/input/input.go b/roomserver/input/input.go
index 3b519ecb..cb588380 100644
--- a/roomserver/input/input.go
+++ b/roomserver/input/input.go
@@ -24,12 +24,13 @@ import (
"github.com/Shopify/sarama"
"github.com/matrix-org/dendrite/common"
"github.com/matrix-org/dendrite/roomserver/api"
+ "github.com/matrix-org/dendrite/roomserver/storage"
"github.com/matrix-org/util"
)
// RoomserverInputAPI implements api.RoomserverInputAPI
type RoomserverInputAPI struct {
- DB RoomEventDatabase
+ DB storage.Database
Producer sarama.SyncProducer
// The kafkaesque topic to output new room events to.
// This is the name used in kafka to identify the stream to write events to.