about summary refs log tree commit diff
path: root/Bot
diff options
context:
space:
mode:
authorEmma [it/its]@Rory& <root@rory.gay>2023-11-23 05:42:33 +0100
committerEmma [it/its]@Rory& <root@rory.gay>2023-11-23 05:42:33 +0100
commit3e5a1a3582ce1fa91a15efa3bb76a75e5036f40c (patch)
tree0ea01f4ac3925139767c08c76ce431efea433bc4 /Bot
parentSmall refactors (diff)
downloadPluralContactBotPoC-3e5a1a3582ce1fa91a15efa3bb76a75e5036f40c.tar.xz
Moderation bot work
Diffstat (limited to 'Bot')
-rw-r--r--Bot/Commands/CreateSystemCommand.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bot/Commands/CreateSystemCommand.cs b/Bot/Commands/CreateSystemCommand.cs

index 4a7d646..6d2cb3a 100644 --- a/Bot/Commands/CreateSystemCommand.cs +++ b/Bot/Commands/CreateSystemCommand.cs
@@ -37,7 +37,7 @@ public class CreateSystemCommand(IServiceProvider services, HomeserverProviderSe var state = ctx.Room.GetMembersAsync(); await foreach (var member in state) { - sysData.Members.Add(member.UserId); + sysData.Members.Add(member.StateKey); } await ctx.Room.SendStateEventAsync("m.room.name", new RoomNameEventContent() {