fix reply popover for muted posts
This commit is contained in:
parent
a07d5a2f35
commit
abb37e2ee8
2 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@
|
|||
:is-preview="true"
|
||||
:statusoid="status"
|
||||
:compact="true"
|
||||
:ignore-mute="true"
|
||||
/>
|
||||
<div
|
||||
v-else-if="error"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue