aboutsummaryrefslogtreecommitdiff
path: root/roomserver/internal/input/input_latest_events.go
diff options
context:
space:
mode:
Diffstat (limited to 'roomserver/internal/input/input_latest_events.go')
-rw-r--r--roomserver/internal/input/input_latest_events.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/roomserver/internal/input/input_latest_events.go b/roomserver/internal/input/input_latest_events.go
index c9264a27..6137941e 100644
--- a/roomserver/internal/input/input_latest_events.go
+++ b/roomserver/internal/input/input_latest_events.go
@@ -199,7 +199,7 @@ func (u *latestEventsUpdater) doUpdateLatestEvents() error {
func (u *latestEventsUpdater) latestState() error {
var err error
- roomState := state.NewStateResolution(u.api.DB, *u.roomInfo)
+ roomState := state.NewStateResolution(u.api.DB, u.roomInfo)
// Work out if the state at the extremities has actually changed
// or not. If they haven't then we won't bother doing all of the