mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-03-22 12:03:39 +00:00
fix
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user