Skip to content

Commit

Permalink
通報の初期コメントにユーザーIDを追加
Browse files Browse the repository at this point in the history
  • Loading branch information
tamo-morita committed May 6, 2023
1 parent af15e00 commit fded63c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/frontend/src/scripts/get-note-menu.ts
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ export function getNoteMenu(props: {
const u = appearNote.url ?? appearNote.uri ?? `${url}/notes/${appearNote.id}`;
os.popup(defineAsyncComponent(() => import('@/components/MkAbuseReportWindow.vue')), {
user: appearNote.user,
initialComment: `Note: ${u}\n-----\n`,
initialComment: `Note: ${u}\nUserID: @${props.note.user.username}\n-----\n`,
}, {}, 'closed');
},
}]
Expand Down

0 comments on commit fded63c

Please sign in to comment.