mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-12 09:23:09 -06:00
Explain filterEvents
This commit is contained in:
parent
750774b328
commit
c80d102074
|
|
@ -66,6 +66,7 @@ func GetMissingEvents(
|
|||
}
|
||||
}
|
||||
|
||||
// filterEvents returns only those events with matching roomID and having depth greater than minDepth
|
||||
func filterEvents(
|
||||
events []gomatrixserverlib.Event, minDepth int64, roomID string,
|
||||
) []gomatrixserverlib.Event {
|
||||
|
|
|
|||
Loading…
Reference in a new issue