Look up event references for the latest events in the room and the current state snapshot. Returns the latest events, the current state and the maximum depth of the latest events plus 1. Returns an error if there was a problem talking to the database.
(ctx context.Context, roomNID types.RoomNID)
| 99 | // Returns the latest events, the current state and the maximum depth of the latest events plus 1. |
| 100 | // Returns an error if there was a problem talking to the database. |
| 101 | LatestEventIDs(ctx context.Context, roomNID types.RoomNID) ([]gomatrixserverlib.EventReference, types.StateSnapshotNID, int64, error) |
| 102 | // Look up the active invites targeting a user in a room and return the |
| 103 | // numeric state key IDs for the user IDs who sent them along with the event IDs for the invites. |
| 104 | // Returns an error if there was a problem talking to the database. |
no outgoing calls
no test coverage detected