mirror of
https://github.com/matrix-org/dendrite
synced 2024-11-10 07:04:24 +00:00
Always resolve state in QueryStateAfterEvents
This commit is contained in:
parent
c366ccdfca
commit
3e55856254
1 changed files with 1 additions and 1 deletions
|
@ -106,7 +106,7 @@ func (r *Queryer) QueryStateAfterEvents(
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
if len(request.PrevEventIDs) > 1 && len(request.StateToFetch) == 0 {
|
if len(request.PrevEventIDs) > 1 {
|
||||||
var authEventIDs []string
|
var authEventIDs []string
|
||||||
for _, e := range stateEvents {
|
for _, e := range stateEvents {
|
||||||
authEventIDs = append(authEventIDs, e.AuthEventIDs()...)
|
authEventIDs = append(authEventIDs, e.AuthEventIDs()...)
|
||||||
|
|
Loading…
Reference in a new issue