aboutsummaryrefslogtreecommitdiff
path: root/roomserver/state/state.go
diff options
context:
space:
mode:
authorKegsay <kegan@matrix.org>2020-04-24 10:38:58 +0100
committerGitHub <noreply@github.com>2020-04-24 10:38:58 +0100
commita202d88fe527c83179d2ebf57ac0d146c3173f9d (patch)
tree493aea75e95b20b93f7212779f2cca7ebac7279e /roomserver/state/state.go
parentc30b12b5a1deea21e54d4718ca11a3b6366c443d (diff)
Use a single storage.Database interface (#978)
Diffstat (limited to 'roomserver/state/state.go')
-rw-r--r--roomserver/state/state.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/roomserver/state/state.go b/roomserver/state/state.go
index 3f68e074..389c9440 100644
--- a/roomserver/state/state.go
+++ b/roomserver/state/state.go
@@ -22,7 +22,7 @@ import (
"sort"
"time"
- "github.com/matrix-org/dendrite/roomserver/state/database"
+ "github.com/matrix-org/dendrite/roomserver/storage"
"github.com/matrix-org/util"
"github.com/prometheus/client_golang/prometheus"
@@ -31,10 +31,10 @@ import (
)
type StateResolution struct {
- db database.RoomStateDatabase
+ db storage.Database
}
-func NewStateResolution(db database.RoomStateDatabase) StateResolution {
+func NewStateResolution(db storage.Database) StateResolution {
return StateResolution{
db: db,
}