summary refs log tree commit diff
path: root/synapse/api
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2020-12-18 09:49:18 +0000
committerGitHub <noreply@github.com>2020-12-18 09:49:18 +0000
commit70586aa63eaf129505324976fb092cb3ad327590 (patch)
treeb1a14803d58dcd5caa72814766129410a9310243 /synapse/api
parentClean up tox.ini (#8963) (diff)
downloadsynapse-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/api')
-rw-r--r--synapse/api/constants.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/api/constants.py b/synapse/api/constants.py
index 1932df83b4..565a8cd76a 100644
--- a/synapse/api/constants.py
+++ b/synapse/api/constants.py
@@ -95,6 +95,8 @@ class EventTypes:
 
     Presence = "m.presence"
 
+    Dummy = "org.matrix.dummy_event"
+
 
 class RejectedReason:
     AUTH_ERROR = "auth_error"