summary refs log tree commit diff
path: root/synapse/api/events/room.py
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/api/events/room.py')
-rw-r--r--synapse/api/events/room.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/synapse/api/events/room.py b/synapse/api/events/room.py
index 8136d495d5..d9b3d572fa 100644
--- a/synapse/api/events/room.py
+++ b/synapse/api/events/room.py
@@ -16,6 +16,10 @@
 from . import SynapseEvent
 
 
+class GenericEvent(SynapseEvent):
+    def get_content_template(self):
+        return {}
+
 class RoomTopicEvent(SynapseEvent):
     TYPE = "m.room.topic"