From f215dca816745ef54f5436d6cea9350d6dcd3982 Mon Sep 17 00:00:00 2001 From: "Emma [it/its]@Rory&" Date: Fri, 5 Jan 2024 12:22:42 +0100 Subject: Cleanup --- ExampleBots/ModerationBot/PolicyEngine.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'ExampleBots/ModerationBot/PolicyEngine.cs') diff --git a/ExampleBots/ModerationBot/PolicyEngine.cs b/ExampleBots/ModerationBot/PolicyEngine.cs index 5af99ac..114b90d 100644 --- a/ExampleBots/ModerationBot/PolicyEngine.cs +++ b/ExampleBots/ModerationBot/PolicyEngine.cs @@ -85,8 +85,8 @@ public class PolicyEngine(AuthenticatedHomeserverGeneric hs, ILogger x.Type).ToDictionary(x => x.Key, x => x.ToList()).OrderByDescending(x => x.Value.Count); foreach (var (type, stateGroup) in groupedStates) { - raw += $"{stateGroup.Count} | {type} | {stateGroup[0].GetType.Name}"; - html += $"{stateGroup.Count}{type}{stateGroup[0].GetType.Name}"; + raw += $"{stateGroup.Count} | {type} | {stateGroup[0].MappedType.Name}"; + html += $"{stateGroup.Count}{type}{stateGroup[0].MappedType.Name}"; } html += ""; -- cgit 1.4.1