fix(frontend): ノート購読の挙動改善 (#16023)

* fix(frontend): ノート購読の挙動改善

* fix

---------

Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
This commit is contained in:
かっこかり
2025-05-11 15:53:02 +09:00
committed by GitHub
parent 3df421da1a
commit c793038a8b
4 changed files with 51 additions and 14 deletions

View File

@@ -89,8 +89,7 @@ async function toggleReaction() {
}).then(() => {
noteEvents.emit(`unreacted:${props.noteId}`, {
userId: $i!.id,
reaction: props.reaction,
emoji: emoji.value,
reaction: oldReaction,
});
if (oldReaction !== props.reaction) {
misskeyApi('notes/reactions/create', {