This commit is contained in:
sim1222 2022-12-22 17:01:29 +09:00
parent c9267e741d
commit 228bff758f
No known key found for this signature in database
GPG Key ID: 04EF48D01BEB0298

View File

@ -109,11 +109,11 @@ export async function openReactionImportMenu(ev: MouseEvent, reaction: string, n
reaction: name,
});
} else {
await importEmoji(true);
console.log('endImport');
os.api('notes/reactions/create', {
noteId: noteId,
reaction: name,
await importEmoji(true).then(() => {
os.api('notes/reactions/create', {
noteId: noteId,
reaction: name,
});
});
}
},