aboutsummaryrefslogtreecommitdiff
path: root/setup/mscs/msc2836/msc2836.go
diff options
context:
space:
mode:
Diffstat (limited to 'setup/mscs/msc2836/msc2836.go')
-rw-r--r--setup/mscs/msc2836/msc2836.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/setup/mscs/msc2836/msc2836.go b/setup/mscs/msc2836/msc2836.go
index 29c781a8..452b1458 100644
--- a/setup/mscs/msc2836/msc2836.go
+++ b/setup/mscs/msc2836/msc2836.go
@@ -102,7 +102,7 @@ func Enable(
base *base.BaseDendrite, rsAPI roomserver.RoomserverInternalAPI, fsAPI fs.FederationInternalAPI,
userAPI userapi.UserInternalAPI, keyRing gomatrixserverlib.JSONVerifier,
) error {
- db, err := NewDatabase(&base.Cfg.MSCs.Database)
+ db, err := NewDatabase(base, &base.Cfg.MSCs.Database)
if err != nil {
return fmt.Errorf("cannot enable MSC2836: %w", err)
}