This commit is contained in:
mattyatea 2024-06-20 14:21:20 +09:00
parent 0f99ba192d
commit b69ce26a91
2 changed files with 2 additions and 2 deletions

View file

@ -444,7 +444,7 @@ function react(viaKeyboard = false): void {
}
function toggleReact() {
if (appearNote.value.myReactions?.length < 3 || !appearNote.value.myReactions ) {
if (appearNote.value.myReactions?.length < 3 || appearNote.value.myReaction && appearNote.value.user.host || !appearNote.value.myReactions ) {
react();
}
}

View file

@ -502,7 +502,7 @@ function undoReact(targetNote: Misskey.entities.Note): void {
}
function toggleReact() {
if (appearNote.value.myReactions?.length < 3 || !appearNote.value.myReactions ) {
if (appearNote.value.myReactions?.length < 3 || appearNote.value.myReaction && appearNote.value.user.host || !appearNote.value.myReactions ) {
react();
}
}