mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-21 13:53:09 -06:00
Fix oopsie
This commit is contained in:
parent
2e65e0d160
commit
845f2eda85
|
|
@ -139,5 +139,5 @@ func Open(dbProperties *config.DatabaseOptions) (*Database, error) {
|
|||
func (d *Database) GetLatestEventsForUpdate(
|
||||
ctx context.Context, roomNID types.RoomNID,
|
||||
) (types.RoomRecentEventsUpdater, func() error, error) {
|
||||
return shared.NewRoomRecentEventsUpdater(d, ctx, roomNID, false)
|
||||
return shared.NewRoomRecentEventsUpdater(&d.Database, ctx, roomNID, false)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue