diff --git a/syncapi/storage/tables/interface.go b/syncapi/storage/tables/interface.go index 5470349a0b..14105a15ad 100644 --- a/syncapi/storage/tables/interface.go +++ b/syncapi/storage/tables/interface.go @@ -235,8 +235,8 @@ type Relations interface { // will be returned, inclusive of the "to" position but excluding the "from" position. The stream // position returned is the maximum position of the returned results. SelectRelationsInRange(ctx context.Context, txn *sql.Tx, roomID, eventID, relType, eventType string, r types.Range, limit int) (map[string][]types.RelationEntry, types.StreamPosition, error) - // SelectThreads this will find some threads from a room - // if userID is not empty then it will only include the threads that the user has participated + // SelectThreads will find threads from a room, if userID is not empty + // then it will only include the threads that the user has participated in. SelectThreads(ctx context.Context, txn *sql.Tx, roomID, userID string, from types.StreamPosition, limit uint64) ([]string, types.StreamPosition, error) // SelectMaxRelationID returns the maximum ID of all relations, used to determine what the boundaries // should be if there are no boundaries supplied (i.e. we want to work backwards but don't have a