From 943deb400516df9431eef5d8299c69e888f269a3 Mon Sep 17 00:00:00 2001 From: Rory& Date: Sat, 24 May 2025 21:10:02 +0200 Subject: Log config on startupg --- MatrixAntiDmSpam/Program.cs | 1 + 1 file changed, 1 insertion(+) (limited to 'MatrixAntiDmSpam/Program.cs') 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(); +builder.Services.AddHostedService(); builder.Services.AddHostedService(); builder.Services.AddSingleton(); builder.Services.AddHostedService(sp => sp.GetRequiredService()); -- cgit 1.5.1