fix reply popover for muted posts

This commit is contained in:
Henry Jameson 2026-05-05 13:40:26 +03:00
commit abb37e2ee8
2 changed files with 4 additions and 0 deletions

View file

@ -152,6 +152,7 @@ const Status = {
'simpleTree',
'showOtherRepliesAsButton',
'dive',
'ignoreMute',
'controlledThreadDisplayStatus',
'controlledToggleThreadDisplay',
@ -345,6 +346,7 @@ const Status = {
}
},
muted() {
if (this.ignoreMute) return false
if (this.statusoid.user.id === this.currentUser.id) return false
return !this.unmuted && !this.shouldNotMute && this.muteReasons.length > 0
},
@ -366,6 +368,7 @@ const Status = {
)
},
shouldNotMute() {
if (this.ignoreMute) return true
if (this.isFocused) return true
const { status } = this
const { reblog } = status

View file

@ -16,6 +16,7 @@
:is-preview="true"
:statusoid="status"
:compact="true"
:ignore-mute="true"
/>
<div
v-else-if="error"