mirror of https://github.com/watcha-fr/synapse
Stop trying to fetch events with event_id=None. (#5753)
`None` is not a valid event id, so queuing up a database fetch for it seems like a silly thing to do. I considered making `get_event` return `None` if `event_id is None`, but then its interaction with `allow_none` seemed uninituitive, and strong typing ftw.code_spécifique_watcha
parent
418635e68a
commit
f30a71a67b
@ -0,0 +1 @@ |
||||
Stop trying to fetch events with event_id=None. |
Loading…
Reference in new issue