mirror of
https://github.com/element-hq/synapse.git
synced 2025-03-08 17:06:52 +00:00
Don't return None
This commit is contained in:
parent
5971d240d4
commit
cf706cc6ef
1 changed files with 1 additions and 1 deletions
|
@ -961,7 +961,7 @@ class SQLBaseStore(object):
|
||||||
if allow_rejected or not ret.rejected_reason:
|
if allow_rejected or not ret.rejected_reason:
|
||||||
event_map[event_id] = ret
|
event_map[event_id] = ret
|
||||||
else:
|
else:
|
||||||
return None
|
event_map[event_id] = None
|
||||||
except KeyError:
|
except KeyError:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue