add back mute prediction, add getter for relationships
This commit is contained in:
parent
f6fce92cf7
commit
af9492977a
9 changed files with 21 additions and 8 deletions
|
@ -119,7 +119,7 @@ const Status = {
|
|||
return hits
|
||||
},
|
||||
muted () {
|
||||
const relationship = this.$store.state.users.relationships[this.status.user.id] || {}
|
||||
const relationship = this.$store.getters.relationship(this.userId)
|
||||
return !this.unmuted && (
|
||||
(!(this.inProfile && this.status.user.id === this.profileUserId) && relationship.muting) ||
|
||||
(!this.inConversation && this.status.thread_muted) ||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue