From e4fbb948bce90fdfe757c70081c6dbec84b70244 Mon Sep 17 00:00:00 2001 From: Rory& Date: Mon, 17 Jun 2024 00:56:37 +0200 Subject: Fix event fetch call --- Commands/BanMediaCommand.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Commands/BanMediaCommand.cs') diff --git a/Commands/BanMediaCommand.cs b/Commands/BanMediaCommand.cs index ca9f12c..07c9858 100644 --- a/Commands/BanMediaCommand.cs +++ b/Commands/BanMediaCommand.cs @@ -45,7 +45,7 @@ public class BanMediaCommand(HomeserverResolverService hsResolver, PolicyEngine messageType: "m.text")); //get replied message - var repliedMessage = await ctx.Room.GetEventAsync(messageContent.RelatesTo!.InReplyTo!.EventId); + var repliedMessage = await ctx.Room.GetEventAsync(messageContent.RelatesTo!.InReplyTo!.EventId); //check if recommendation is in list if (ctx.Args.Length < 2) { -- cgit 1.4.1