1 files changed, 1 insertions, 0 deletions
diff --git a/MatrixAntiDmSpam/Program.cs b/MatrixAntiDmSpam/Program.cs
index 0be6825..51850a1 100644
--- a/MatrixAntiDmSpam/Program.cs
+++ b/MatrixAntiDmSpam/Program.cs
@@ -10,6 +10,7 @@ builder.Services.AddRoryLibMatrixServices()
.AddMatrixBot()
.WithInviteHandler<RoomInviteHandler>();
+builder.Services.AddHostedService<AntiDmSpamStartup>();
builder.Services.AddHostedService<PolicyListFetcher>();
builder.Services.AddSingleton<InviteManager>();
builder.Services.AddHostedService<InviteManager>(sp => sp.GetRequiredService<InviteManager>());
|