diff --git a/src/github.com/matrix-org/dendrite/roomserver/types/types.go b/src/github.com/matrix-org/dendrite/roomserver/types/types.go index c97af06d7..9187a21c7 100644 --- a/src/github.com/matrix-org/dendrite/roomserver/types/types.go +++ b/src/github.com/matrix-org/dendrite/roomserver/types/types.go @@ -138,6 +138,7 @@ type RoomRecentEventsUpdater interface { // Check whether the eventReference is already referenced by another matrix event. IsReferenced(eventReference gomatrixserverlib.EventReference) (bool, error) // Set the list of latest events for the room. + // This replaces the current list stored in the database with the given list. SetLatestEvents(roomNID RoomNID, latest []StateAtEventAndReference) error // Commit the transaction Commit() error