mirror of
https://github.com/sim1222/misskey.git
synced 2025-04-29 02:37:22 +09:00
fix: 3
This commit is contained in:
parent
b604ef1623
commit
a29ee6d294
@ -103,16 +103,17 @@ export async function openReactionImportMenu(ev: MouseEvent, reaction: string, n
|
||||
});
|
||||
});
|
||||
console.log(name);
|
||||
if (duplication) {
|
||||
console.log(duplication);
|
||||
if (await duplication) {
|
||||
os.api('notes/reactions/create', {
|
||||
noteId: noteId,
|
||||
reaction: name,
|
||||
reaction: `:${name}:`,
|
||||
});
|
||||
} else {
|
||||
await importEmoji(true).then(() => {
|
||||
os.api('notes/reactions/create', {
|
||||
noteId: noteId,
|
||||
reaction: name,
|
||||
reaction: `:${name}:`,
|
||||
});
|
||||
});
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user