mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 09:06:06 -04:00
Support generic events.
This commit is contained in:
parent
cd2967d271
commit
19946509a4
2 changed files with 8 additions and 5 deletions
|
@ -16,6 +16,10 @@
|
|||
from . import SynapseEvent
|
||||
|
||||
|
||||
class GenericEvent(SynapseEvent):
|
||||
def get_content_template(self):
|
||||
return {}
|
||||
|
||||
class RoomTopicEvent(SynapseEvent):
|
||||
TYPE = "m.room.topic"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue