mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-07 15:03:09 -06:00
Explain the semantics of SetLatestEvents a bit?
This commit is contained in:
parent
2cce7c9f66
commit
f70d0d4819
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue