Skip to content

Commit 618f68c

Browse files
authored
Remove params from comment reply uri (#327255)
Part of #326491
1 parent 1ab5067 commit 618f68c

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

src/vs/workbench/contrib/comments/browser/commentReply.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -86,14 +86,10 @@ export class CommentReply<T extends IRange | ICellRange> extends Disposable {
8686
this.updateAuthorInfo();
8787
const hasExistingComments = this._commentThread.comments && this._commentThread.comments.length > 0;
8888
const modeId = generateUuid() + '-' + (hasExistingComments ? this._commentThread.threadId : ++INMEM_MODEL_ID);
89-
const params = JSON.stringify({
90-
extensionId: this._commentThread.extensionId,
91-
commentThreadId: this._commentThread.threadId
92-
});
9389

9490
let resource = URI.from({
9591
scheme: Schemas.commentsInput,
96-
path: `/${this._commentThread.extensionId}/commentinput-${modeId}.md?${params}` // TODO. Remove params once extensions adopt authority.
92+
path: `/${this._commentThread.extensionId}/commentinput-${modeId}.md`
9793
});
9894
const commentController = this.commentService.getCommentController(this.owner);
9995
if (commentController) {

0 commit comments

Comments
 (0)