mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2026-01-04 09:53:15 -06:00
webpush.Sender: take type converter as ctor param
This commit is contained in:
parent
b9f759d922
commit
d89f3ec8f1
4 changed files with 9 additions and 6 deletions
|
|
@ -254,7 +254,7 @@ var Start action.GTSAction = func(ctx context.Context) error {
|
|||
}
|
||||
|
||||
// Create a Web Push notification sender.
|
||||
webPushSender := webpush.NewSender(client, state)
|
||||
webPushSender := webpush.NewSender(client, state, typeConverter)
|
||||
|
||||
// Initialize both home / list timelines.
|
||||
state.Timelines.Home = timeline.NewManager(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue