fix
This commit is contained in:
parent
13ec5c8833
commit
4df23e73a7
|
@ -89,8 +89,7 @@ async function toggleReaction() {
|
||||||
}).then(() => {
|
}).then(() => {
|
||||||
noteEvents.emit(`unreacted:${props.noteId}`, {
|
noteEvents.emit(`unreacted:${props.noteId}`, {
|
||||||
userId: $i!.id,
|
userId: $i!.id,
|
||||||
reaction: props.reaction,
|
reaction: oldReaction,
|
||||||
emoji: emoji.value,
|
|
||||||
});
|
});
|
||||||
if (oldReaction !== props.reaction) {
|
if (oldReaction !== props.reaction) {
|
||||||
misskeyApi('notes/reactions/create', {
|
misskeyApi('notes/reactions/create', {
|
||||||
|
|
Loading…
Reference in New Issue