diff options
author | Neil Alexander <neilalexander@users.noreply.github.com> | 2022-01-28 13:11:56 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-28 13:11:56 +0000 |
commit | 8e4002831f6681b5f2de1c6490184ed6ed2275fe (patch) | |
tree | 3700722b9d488aa569004fa94fa2613aa0e9b587 /roomserver | |
parent | e9fbad6f2015ac0375eff76c8d50962791099e17 (diff) |
Call hooks for outliers (#2119)
* Move hook call when processing room events
* Fix build
* Call hooks for outliers too
Diffstat (limited to 'roomserver')
-rw-r--r-- | roomserver/internal/input/input_events.go | 1 |
1 files changed, 1 insertions, 0 deletions
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 } |