support deprecated commentId.

This commit is contained in:
Peng Lyu
2019-04-28 13:24:58 -07:00
parent 2884d2239b
commit 9435d7cc38

View File

@@ -702,7 +702,7 @@ function convertToModeComment(commentController: ExtHostCommentController, vscod
const iconPath = vscodeComment.userIconPath ? vscodeComment.userIconPath.toString() : vscodeComment.gravatar;
return {
commentId: vscodeComment.commentId,
commentId: vscodeComment.id || vscodeComment.commentId,
body: extHostTypeConverter.MarkdownString.from(vscodeComment.body),
userName: vscodeComment.userName,
userIconPath: iconPath,