summary refs log tree commit diff
path: root/synapse/events/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'synapse/events/__init__.py')
-rw-r--r--synapse/events/__init__.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/synapse/events/__init__.py b/synapse/events/__init__.py
index aa48cd2236..d628abc0a6 100644
--- a/synapse/events/__init__.py
+++ b/synapse/events/__init__.py
@@ -605,6 +605,9 @@ class FrozenLinearizedEvent(FrozenEventV3):
 
     format_version = EventFormatVersions.LINEARIZED
 
+    # TODO(LM): Do we re-calculate depth at some point?
+    depth = 0  # type: ignore[assignment]
+
     @property
     def pdu_domain(self) -> str:
         """The domain which added this event to the DAG.