From 8313eded62554b94073e1a7364926e387d4c53be Mon Sep 17 00:00:00 2001 From: Rory& Date: Tue, 18 Mar 2025 11:56:27 +0100 Subject: Add more stores, do osme work --- MatrixAntiDmSpam/Program.cs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'MatrixAntiDmSpam/Program.cs') diff --git a/MatrixAntiDmSpam/Program.cs b/MatrixAntiDmSpam/Program.cs index 39d8273..f813eab 100644 --- a/MatrixAntiDmSpam/Program.cs +++ b/MatrixAntiDmSpam/Program.cs @@ -1,3 +1,4 @@ +using LibMatrix.Extensions; using LibMatrix.Services; using LibMatrix.Utilities.Bot; using MatrixAntiDmSpam; @@ -11,5 +12,10 @@ builder.Services.AddRoryLibMatrixServices() builder.Services.AddHostedService(); +builder.Services.AddSingleton(); +builder.Services.AddSingleton(); + +MatrixHttpClient.LogRequests = false; + var host = builder.Build(); host.Run(); \ No newline at end of file -- cgit 1.5.1