mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-09-20 00:14:37 -04:00
Make prev_state
field optional
The `prev_state` field on events is not specced and so synapse shouldn't explode if an event is missing the field. Fixes #4787
This commit is contained in:
parent
39e57f9728
commit
5536ddba75
2 changed files with 0 additions and 16 deletions
|
@ -141,7 +141,6 @@ class EventBase(object):
|
|||
origin = _event_dict_property("origin")
|
||||
origin_server_ts = _event_dict_property("origin_server_ts")
|
||||
prev_events = _event_dict_property("prev_events")
|
||||
prev_state = _event_dict_property("prev_state")
|
||||
redacts = _event_dict_property("redacts")
|
||||
room_id = _event_dict_property("room_id")
|
||||
sender = _event_dict_property("sender")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue