@@ -521,12 +521,12 @@ export function parseGraphQLReviewThread(thread: GraphQL.ReviewThread, githubRep
521521 originalEndLine : thread . originalLine ,
522522 diffSide : thread . diffSide ,
523523 isOutdated : thread . isOutdated ,
524- comments : thread . comments . nodes . map ( comment => parseGraphQLComment ( comment , thread . isResolved , githubRepository ) ) ,
524+ comments : thread . comments . nodes . map ( comment => parseGraphQLComment ( comment , thread . isResolved , thread . isOutdated , githubRepository ) ) ,
525525 subjectType : thread . subjectType ?? SubjectType . LINE
526526 } ;
527527}
528528
529- export function parseGraphQLComment ( comment : GraphQL . ReviewComment , isResolved : boolean , githubRepository : GitHubRepository ) : IComment {
529+ export function parseGraphQLComment ( comment : GraphQL . ReviewComment , isResolved : boolean , isOutdated : boolean , githubRepository : GitHubRepository ) : IComment {
530530 const specialAuthor = COPILOT_ACCOUNTS [ comment . author ?. login ?? '' ] ;
531531 const c : IComment = {
532532 id : comment . databaseId ,
@@ -551,6 +551,7 @@ export function parseGraphQLComment(comment: GraphQL.ReviewComment, isResolved:
551551 inReplyToId : comment . replyTo && comment . replyTo . databaseId ,
552552 reactions : parseGraphQLReaction ( comment . reactionGroups ) ,
553553 isResolved,
554+ isOutdated
554555 } ;
555556
556557 const diffHunks = parseCommentDiffHunk ( c ) ;
@@ -573,7 +574,7 @@ export function parseGraphQlIssueComment(comment: GraphQL.IssueComment, githubRe
573574 htmlUrl : comment . url ,
574575 graphNodeId : comment . id ,
575576 diffHunk : '' ,
576- reactions : parseGraphQLReaction ( comment . reactionGroups ) ,
577+ reactions : parseGraphQLReaction ( comment . reactionGroups )
577578 } ;
578579}
579580
@@ -1030,7 +1031,7 @@ export function parseGraphQLReviewEvent(
10301031) : Common . ReviewEvent {
10311032 return {
10321033 event : Common . EventType . Reviewed ,
1033- comments : review . comments . nodes . map ( comment => parseGraphQLComment ( comment , false , githubRepository ) ) . filter ( c => ! c . inReplyToId ) ,
1034+ comments : review . comments . nodes . map ( comment => parseGraphQLComment ( comment , false , false , githubRepository ) ) . filter ( c => ! c . inReplyToId ) ,
10341035 submittedAt : review . submittedAt ,
10351036 body : review . body ,
10361037 bodyHTML : review . bodyHTML ,
0 commit comments