From 4bec702e273b2445a03f41c6e0afd5b2de62d2a2 Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Fri, 28 Jan 2022 12:48:47 +0000 Subject: [PATCH] Call hooks for outliers too --- roomserver/internal/input/input_events.go | 1 + 1 file changed, 1 insertion(+) diff --git a/roomserver/internal/input/input_events.go b/roomserver/internal/input/input_events.go index 33442140..8f262ebe 100644 --- a/roomserver/internal/input/input_events.go +++ b/roomserver/internal/input/input_events.go @@ -250,6 +250,7 @@ func (r *Inputer) processRoomEvent( // notify anyone about it. if input.Kind == api.KindOutlier { logger.Debug("Stored outlier") + hooks.Run(hooks.KindNewEventPersisted, headered) return nil }