mirror of
https://github.com/matrix-org/dendrite.git
synced 2026-01-10 23:53:09 -06:00
Handle MissingStateError too
This commit is contained in:
parent
9f8a43d9a7
commit
17378d870f
|
|
@ -95,6 +95,9 @@ func (r *Queryer) QueryStateAfterEvents(
|
|||
if _, ok := err.(types.MissingEventError); ok {
|
||||
return nil
|
||||
}
|
||||
if _, ok := err.(types.MissingStateError); ok {
|
||||
return nil
|
||||
}
|
||||
return err
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue