diff options
Diffstat (limited to 'Commands/BanMediaCommand.cs')
-rw-r--r-- | Commands/BanMediaCommand.cs | 2 |
1 files changed, 1 insertions, 1 deletions
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<StateEventResponse>(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) { |