about summary refs log tree commit diff
path: root/MatrixAntiDmSpam/Program.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MatrixAntiDmSpam/Program.cs')
-rw-r--r--MatrixAntiDmSpam/Program.cs3
1 files changed, 1 insertions, 2 deletions
diff --git a/MatrixAntiDmSpam/Program.cs b/MatrixAntiDmSpam/Program.cs

index e81cd58..e3eb037 100644 --- a/MatrixAntiDmSpam/Program.cs +++ b/MatrixAntiDmSpam/Program.cs
@@ -8,12 +8,11 @@ var builder = Host.CreateApplicationBuilder(args); builder.Services.AddSingleton<AntiDmSpamConfiguration>(); builder.Services.AddRoryLibMatrixServices() .AddMatrixBot() - .WithInviteHandler<InviteHandler>(); + .WithInviteHandler<RoomInviteHandler>(); builder.Services.AddHostedService<PolicyListFetcher>(); builder.Services.AddHostedService<PolicyExecutor>(); -builder.Services.AddSingleton<InviteStore>(); builder.Services.AddSingleton<PolicyStore>(); MatrixHttpClient.LogRequests = false;