mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-07 15:03:09 -06:00
Fix comment
This commit is contained in:
parent
ae9a226b41
commit
e0cd3d6e48
|
|
@ -88,7 +88,8 @@ func doUpdateLatestEvents(
|
||||||
}
|
}
|
||||||
|
|
||||||
if !alreadyReferenced && !alreadyInLatest {
|
if !alreadyReferenced && !alreadyInLatest {
|
||||||
// This event is not referenced by any of the events in the room.
|
// This event is not referenced by any of the events in the room
|
||||||
|
// and the event is not already in the latest events.
|
||||||
// Add it to the latest events
|
// Add it to the latest events
|
||||||
newLatest = append(newLatest, types.StateAtEventAndReference{
|
newLatest = append(newLatest, types.StateAtEventAndReference{
|
||||||
StateAtEvent: stateAtEvent,
|
StateAtEvent: stateAtEvent,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue