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

View file

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