Call hooks for outliers too

This commit is contained in:
Neil Alexander 2022-01-28 12:48:47 +00:00
parent 145bca1054
commit 4bec702e27
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944

View file

@ -250,6 +250,7 @@ func (r *Inputer) processRoomEvent(
// notify anyone about it. // notify anyone about it.
if input.Kind == api.KindOutlier { if input.Kind == api.KindOutlier {
logger.Debug("Stored outlier") logger.Debug("Stored outlier")
hooks.Run(hooks.KindNewEventPersisted, headered)
return nil return nil
} }