spec(notes/create): 投稿されたnoteを返さないオプションを追加 (MisskeyIO#879)

This commit is contained in:
あわわわとーにゅ 2025-01-10 14:54:32 +09:00 committed by GitHub
parent 8bd7884873
commit 535a6bc756
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 20 additions and 5 deletions

View file

@ -543,6 +543,7 @@ export function getRenoteMenu(props: {
misskeyApi('notes/create', {
renoteId: appearNote.id,
channelId: appearNote.channelId,
noCreatedNote: true,
}).then(() => {
os.toast(i18n.ts.renoted);
});
@ -589,6 +590,7 @@ export function getRenoteMenu(props: {
localOnly,
visibility,
renoteId: appearNote.id,
noCreatedNote: true,
}).then(() => {
os.toast(i18n.ts.renoted);
});
@ -630,6 +632,7 @@ export function getRenoteMenu(props: {
misskeyApi('notes/create', {
renoteId: appearNote.id,
channelId: channel.id,
noCreatedNote: true,
}).then(() => {
os.toast(i18n.tsx.renotedToX({ name: channel.name }));
});