diff options
-rw-r--r-- | synapse/storage/state.py | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/synapse/storage/state.py b/synapse/storage/state.py index 0a0691cd00..c3ab7db7ae 100644 --- a/synapse/storage/state.py +++ b/synapse/storage/state.py @@ -458,9 +458,6 @@ class StateGroupWorkerStore(EventsWorkerStore, SQLBaseStore): # Retrieve the room's create event create_event = yield self.get_event(create_id) - if not create_event: - defer.returnValue(None) - # Return predecessor if present defer.returnValue(create_event.content.get("predecessor", None)) |