summary refs log tree commit diff
path: root/synapse/events/__init__.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2022-03-11 18:10:36 +0000
committerErik Johnston <erik@matrix.org>2022-03-11 18:10:36 +0000
commit07fb52b5d514b8ac6076126cf0c19724507aa910 (patch)
tree71e14597ed8d8c043dcdf349723d3a52b076aeb2 /synapse/events/__init__.py
parentFix a bug in background updates wherein background updates are never run usin... (diff)
downloadsynapse-github/erikj/event_rs.tar.xz
Diffstat (limited to 'synapse/events/__init__.py')
-rw-r--r--synapse/events/__init__.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/synapse/events/__init__.py b/synapse/events/__init__.py
index 9acb3c0cc4..204e24de17 100644
--- a/synapse/events/__init__.py
+++ b/synapse/events/__init__.py
@@ -310,7 +310,9 @@ class EventBase(metaclass=abc.ABCMeta):
     depth: DictProperty[int] = DictProperty("depth")
     content: DictProperty[JsonDict] = DictProperty("content")
     hashes: DictProperty[Dict[str, str]] = DictProperty("hashes")
-    origin: DictProperty[str] = DictProperty("origin")
+    origin: DictProperty[str] = DictProperty(
+        "origin"
+    )  # CAN WE GET RID OF THIS??!!!??!?!
     origin_server_ts: DictProperty[int] = DictProperty("origin_server_ts")
     redacts: DefaultDictProperty[Optional[str]] = DefaultDictProperty("redacts", None)
     room_id: DictProperty[str] = DictProperty("room_id")