mirror of
https://github.com/TheAnachronism/docspell.git
synced 2025-06-22 10:28:27 +00:00
Fix notifications for collective scoped tasks
This commit is contained in:
@ -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 =>
|
||||
|
Reference in New Issue
Block a user