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/PluralContactBotPoC/Bot/Commands/CreateSystemCommand.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ExampleBots/PluralContactBotPoC/Bot/Commands/CreateSystemCommand.cs') diff --git a/ExampleBots/PluralContactBotPoC/Bot/Commands/CreateSystemCommand.cs b/ExampleBots/PluralContactBotPoC/Bot/Commands/CreateSystemCommand.cs index 6d2cb3a..0bb3265 100644 --- a/ExampleBots/PluralContactBotPoC/Bot/Commands/CreateSystemCommand.cs +++ b/ExampleBots/PluralContactBotPoC/Bot/Commands/CreateSystemCommand.cs @@ -35,7 +35,7 @@ public class CreateSystemCommand(IServiceProvider services, HomeserverProviderSe Members = new(), }; - var state = ctx.Room.GetMembersAsync(); + var state = ctx.Room.GetMembersEnumerableAsync(); await foreach (var member in state) { sysData.Members.Add(member.StateKey); } -- cgit 1.4.1