mirror of
https://github.com/matrix-org/dendrite
synced 2025-01-06 00:43:45 +01:00
Call hooks for outliers (#2119)
* Move hook call when processing room events * Fix build * Call hooks for outliers too
This commit is contained in:
parent
e9fbad6f20
commit
8e4002831f
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue