diff --git a/roomserver/internal/input/input_events.go b/roomserver/internal/input/input_events.go index 4bbe2631..33442140 100644 --- a/roomserver/internal/input/input_events.go +++ b/roomserver/internal/input/input_events.go @@ -324,7 +324,7 @@ func (r *Inputer) processRoomEvent( // Everything was OK — the latest events updater didn't error and // we've sent output events. Finally, generate a hook call. - hooks.Run(hooks.KindNewEventPersisted, event) + hooks.Run(hooks.KindNewEventPersisted, headered) return nil }