add back mute prediction, add getter for relationships

This commit is contained in:
Shpuld Shpuldson 2020-04-24 18:53:17 +03:00
parent f6fce92cf7
commit af9492977a
9 changed files with 21 additions and 8 deletions

View file

@ -56,7 +56,7 @@ const Notification = {
return this.generateUserProfileLink(this.targetUser)
},
needMute () {
return (this.$store.state.users.relationships[this.user.id] || {}).muting
return this.$store.getters.relationship(this.user.id).muting
}
}
}