mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-01-24 18:11:04 -05:00
Remove redundant create event None check
This commit is contained in:
parent
277e50462d
commit
e1781b043b
@ -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))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user