diff options
author | Erik Johnston <erik@matrix.org> | 2020-12-18 09:49:18 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-18 09:49:18 +0000 |
commit | 70586aa63eaf129505324976fb092cb3ad327590 (patch) | |
tree | b1a14803d58dcd5caa72814766129410a9310243 /synapse/handlers/message.py | |
parent | Clean up tox.ini (#8963) (diff) | |
download | synapse-70586aa63eaf129505324976fb092cb3ad327590.tar.xz |
Try and drop stale extremities. (#8929)
If we see stale extremities while persisting events, and notice that they don't change the result of state resolution, we drop them.
Diffstat (limited to 'synapse/handlers/message.py')
-rw-r--r-- | synapse/handlers/message.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/message.py b/synapse/handlers/message.py index 2b8aa9443d..9dfeab09cd 100644 --- a/synapse/handlers/message.py +++ b/synapse/handlers/message.py @@ -1261,7 +1261,7 @@ class EventCreationHandler: event, context = await self.create_event( requester, { - "type": "org.matrix.dummy_event", + "type": EventTypes.Dummy, "content": {}, "room_id": room_id, "sender": user_id, |