webpush.Sender: take type converter as ctor param

This commit is contained in:
Vyr Cossont 2025-01-23 10:00:55 -08:00
commit d89f3ec8f1
4 changed files with 9 additions and 6 deletions

View file

@ -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(