Support generic events.

This commit is contained in:
Erik Johnston 2014-08-15 16:06:08 +01:00
parent cd2967d271
commit 19946509a4
2 changed files with 8 additions and 5 deletions

View file

@ -16,6 +16,10 @@
from . import SynapseEvent
class GenericEvent(SynapseEvent):
def get_content_template(self):
return {}
class RoomTopicEvent(SynapseEvent):
TYPE = "m.room.topic"