Fix notifications for collective scoped tasks

This commit is contained in:
eikek
2023-03-06 16:45:16 +01:00
parent f4615e690a
commit 3718442e29
4 changed files with 33 additions and 15 deletions

View File

@ -30,6 +30,7 @@ object EventNotify {
Kleisli { event =>
(for {
hooks <- OptionT.liftF(store.transact(QNotification.findChannelsForEvent(event)))
_ <- OptionT.liftF(logger.trace(s"Found hooks: $hooks for event: $event"))
evctx <- DbEventContext.apply.run(event).mapK(store.transform)
channels = hooks
.filter(hc =>