Merge branch 'develop' into pr/12141

This commit is contained in:
syuilo
2023-10-31 09:11:42 +09:00
106 changed files with 1679 additions and 355 deletions

View File

@@ -191,9 +191,11 @@ let note = $ref(deepClone(props.note));
// plugin
if (noteViewInterruptors.length > 0) {
onMounted(async () => {
let result = deepClone(note);
let result:Misskey.entities.Note | null = deepClone(note);
for (const interruptor of noteViewInterruptors) {
result = await interruptor.handler(result);
if (result === null) return isDeleted.value = true;
}
note = result;
});