通報の初期コメントにユーザーIDを追加

This commit is contained in:
tamo-morita 2023-05-06 15:11:38 +09:00 committed by NoriDev
parent e99286a787
commit 40618f951a

View file

@ -357,7 +357,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');
},
}]