mirror of
https://github.com/matrix-org/dendrite.git
synced 2026-01-16 18:43:10 -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 {
|
if _, ok := err.(types.MissingEventError); ok {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
if _, ok := err.(types.MissingStateError); ok {
|
||||||
|
return nil
|
||||||
|
}
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue