2 files changed, 7 insertions, 1 deletions
diff --git a/MatrixAntiDmSpam/Program.cs b/MatrixAntiDmSpam/Program.cs
index fc1d603..935e23f 100644
--- a/MatrixAntiDmSpam/Program.cs
+++ b/MatrixAntiDmSpam/Program.cs
@@ -15,7 +15,7 @@ builder.Services.AddHostedService<PolicyExecutor>();
builder.Services.AddSingleton<PolicyStore>();
-MatrixHttpClient.LogRequests = false;
+// MatrixHttpClient.LogRequests = false;
var host = builder.Build();
host.Run();
\ No newline at end of file
diff --git a/MatrixAntiDmSpam/appsettings.Development.json b/MatrixAntiDmSpam/appsettings.Development.json
index fd582b4..4cfb975 100644
--- a/MatrixAntiDmSpam/appsettings.Development.json
+++ b/MatrixAntiDmSpam/appsettings.Development.json
@@ -34,8 +34,14 @@
}
},
"AntiDmSpam": {
+ // Whether invites should be logged to a room.
"LogRoom": "!GrLSwdAkdrvfMrRYKR:rory.gay",
"LogInviteDataAsFile": true,
+ // Whether to report users and rooms when an invite is blocked.
+ "ReportBlockedInvites": true,
+ // WARNING: If you're a room moderator, this will cause your client to not receive events from ignored users!
+ "IgnoreBannedUsers": true,
+ // Policy lists to follow
"PolicyLists": [
{
"Name": "Community Moderation Effort",
|