mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-26 08:13:09 -06:00
Rename variable
This commit is contained in:
parent
ea51b10e6a
commit
0858ed9540
|
|
@ -223,12 +223,12 @@ func (p *PDUStreamProvider) getJoinResponseForCompleteSync(
|
||||||
}
|
}
|
||||||
|
|
||||||
// Get the event IDs of the stream events we fetched. There's no point in us
|
// Get the event IDs of the stream events we fetched. There's no point in us
|
||||||
recentStreamEventIDs := make([]string, 0, len(recentStreamEvents))
|
excludingEventIDs := make([]string, 0, len(recentStreamEvents))
|
||||||
for _, eventID := range recentStreamEvents {
|
for _, eventID := range recentStreamEvents {
|
||||||
recentStreamEventIDs = append(recentStreamEventIDs, eventID.EventID())
|
excludingEventIDs = append(excludingEventIDs, eventID.EventID())
|
||||||
}
|
}
|
||||||
|
|
||||||
stateEvents, err := p.DB.CurrentState(ctx, roomID, stateFilter, recentStreamEventIDs)
|
stateEvents, err := p.DB.CurrentState(ctx, roomID, stateFilter, excludingEventIDs)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue