about summary refs log tree commit diff
path: root/ExampleBots/MediaModeratorPoC/StateEventTypes/BasePolicy.cs
diff options
context:
space:
mode:
authorTheArcaneBrony <myrainbowdash949@gmail.com>2023-10-17 17:11:37 +0200
committerTheArcaneBrony <myrainbowdash949@gmail.com>2023-10-17 17:11:37 +0200
commit0ad13628bb8ef899927b7b42b5357fe616ce057c (patch)
tree8a04032802bdc13d0b9006e024a54b888a2562dc /ExampleBots/MediaModeratorPoC/StateEventTypes/BasePolicy.cs
parentHandle floats etc in requests (diff)
downloadLibMatrix-0ad13628bb8ef899927b7b42b5357fe616ce057c.tar.xz
Add updating of profiles and fetching room profiles
Diffstat (limited to 'ExampleBots/MediaModeratorPoC/StateEventTypes/BasePolicy.cs')
-rw-r--r--ExampleBots/MediaModeratorPoC/StateEventTypes/BasePolicy.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/ExampleBots/MediaModeratorPoC/StateEventTypes/BasePolicy.cs b/ExampleBots/MediaModeratorPoC/StateEventTypes/BasePolicy.cs
index 048c1d0..7735314 100644
--- a/ExampleBots/MediaModeratorPoC/StateEventTypes/BasePolicy.cs
+++ b/ExampleBots/MediaModeratorPoC/StateEventTypes/BasePolicy.cs
@@ -1,10 +1,11 @@
 using System.ComponentModel.DataAnnotations;
 using System.Text.Json.Serialization;
 using LibMatrix;
+using LibMatrix.Interfaces;
 
 namespace MediaModeratorPoC.StateEventTypes;
 
-public abstract class BasePolicy : StateEvent {
+public abstract class BasePolicy : EventContent {
     /// <summary>
     ///     Entity this policy applies to
     /// </summary>