diff options
author | Erik Johnston <erik@matrix.org> | 2014-09-24 15:27:59 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2014-09-24 15:27:59 +0100 |
commit | 70899d3ab29cd57301fb135130c940f312bfe482 (patch) | |
tree | 69383590001210f59f429ffb88c6afda4c26d789 /synapse/api/events/room.py | |
parent | Make deleting deletes not undelete (diff) | |
download | synapse-70899d3ab29cd57301fb135130c940f312bfe482.tar.xz |
Rename deletions to redactions
Diffstat (limited to 'synapse/api/events/room.py')
-rw-r--r-- | synapse/api/events/room.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/synapse/api/events/room.py b/synapse/api/events/room.py index 9861395556..cd936074fc 100644 --- a/synapse/api/events/room.py +++ b/synapse/api/events/room.py @@ -182,10 +182,10 @@ class RoomAliasesEvent(SynapseStateEvent): return {} -class RoomDeletionEvent(SynapseEvent): - TYPE = "m.room.deletion" +class RoomRedactionEvent(SynapseEvent): + TYPE = "m.room.redaction" - valid_keys = SynapseEvent.valid_keys + ["deletes"] + valid_keys = SynapseEvent.valid_keys + ["redacts"] def get_content_template(self): return {} |