about summary refs log tree commit diff
path: root/MatrixAntiDmSpam
diff options
context:
space:
mode:
authorRory& <root@rory.gay>2025-05-24 21:10:02 +0200
committerRory& <root@rory.gay>2025-05-24 21:10:02 +0200
commit943deb400516df9431eef5d8299c69e888f269a3 (patch)
tree5fc096dee2dab8d5c1dbcbd3c476c2f7f967d5f8 /MatrixAntiDmSpam
parentUpdate LibMatrix to support takedown policies and hashed entities (diff)
downloadMatrixAntiDmSpam-943deb400516df9431eef5d8299c69e888f269a3.tar.xz
Log config on startupg
Diffstat (limited to 'MatrixAntiDmSpam')
-rw-r--r--MatrixAntiDmSpam/Program.cs1
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>());