aboutsummaryrefslogtreecommitdiff
path: root/federationsender/storage/storage.go
diff options
context:
space:
mode:
Diffstat (limited to 'federationsender/storage/storage.go')
-rw-r--r--federationsender/storage/storage.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/federationsender/storage/storage.go b/federationsender/storage/storage.go
index d481e58a..df8433eb 100644
--- a/federationsender/storage/storage.go
+++ b/federationsender/storage/storage.go
@@ -19,13 +19,13 @@ package storage
import (
"net/url"
- "github.com/matrix-org/dendrite/common"
"github.com/matrix-org/dendrite/federationsender/storage/postgres"
"github.com/matrix-org/dendrite/federationsender/storage/sqlite3"
+ "github.com/matrix-org/dendrite/internal"
)
// NewDatabase opens a new database
-func NewDatabase(dataSourceName string, dbProperties common.DbProperties) (Database, error) {
+func NewDatabase(dataSourceName string, dbProperties internal.DbProperties) (Database, error) {
uri, err := url.Parse(dataSourceName)
if err != nil {
return postgres.NewDatabase(dataSourceName, dbProperties)