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

index ac2036a..8c187d1 100644 --- a/ModerationBot/Commands/DbgDumpAllStateTypesCommand.cs +++ b/ModerationBot/Commands/DbgDumpAllStateTypesCommand.cs
@@ -39,7 +39,7 @@ public class DbgDumpAllStateTypesCommand(IServiceProvider services, HomeserverPr var joinedRooms = await ctx.Homeserver.GetJoinedRooms(); - var tasks = joinedRooms.Select(GetStateTypes).ToAsyncEnumerable(); + var tasks = joinedRooms.Select(GetStateTypes).ToAsyncResultEnumerable(); await foreach (var (room, (raw, html)) in tasks) { await ctx.Room.SendMessageEventAsync(new RoomMessageEventContent("m.text") { Body = $"States for {room.RoomId}:\n{raw}",