diff options
author | Erik Johnston <erik@matrix.org> | 2022-03-11 18:10:36 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2022-03-11 18:10:36 +0000 |
commit | 07fb52b5d514b8ac6076126cf0c19724507aa910 (patch) | |
tree | 71e14597ed8d8c043dcdf349723d3a52b076aeb2 /synapse/events/__init__.py | |
parent | Fix a bug in background updates wherein background updates are never run usin... (diff) | |
download | synapse-github/erikj/event_rs.tar.xz |
event_rs stuff github/erikj/event_rs erikj/event_rs
Diffstat (limited to 'synapse/events/__init__.py')
-rw-r--r-- | synapse/events/__init__.py | 4 |
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") |