mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-11-10 15:07:28 -06:00
Add Web Push sender (similar to email sender)
This commit is contained in:
parent
0cffb8784e
commit
0c92f9f0f3
16 changed files with 699 additions and 1 deletions
|
|
@ -28,6 +28,7 @@ import (
|
|||
"github.com/superseriousbusiness/gotosocial/internal/state"
|
||||
"github.com/superseriousbusiness/gotosocial/internal/subscriptions"
|
||||
"github.com/superseriousbusiness/gotosocial/internal/typeutils"
|
||||
"github.com/superseriousbusiness/gotosocial/internal/webpush"
|
||||
)
|
||||
|
||||
// NewTestProcessor returns a Processor suitable for testing purposes.
|
||||
|
|
@ -37,6 +38,7 @@ func NewTestProcessor(
|
|||
state *state.State,
|
||||
federator *federation.Federator,
|
||||
emailSender email.Sender,
|
||||
webPushSender webpush.Sender,
|
||||
mediaManager *media.Manager,
|
||||
) *processing.Processor {
|
||||
|
||||
|
|
@ -53,6 +55,7 @@ func NewTestProcessor(
|
|||
mediaManager,
|
||||
state,
|
||||
emailSender,
|
||||
webPushSender,
|
||||
visibility.NewFilter(state),
|
||||
interaction.NewFilter(state),
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue