diff options
| author | Shpuld Shpuldson <shp@cock.li> | 2020-04-24 18:53:17 +0300 |
|---|---|---|
| committer | Shpuld Shpuldson <shp@cock.li> | 2020-04-24 18:53:17 +0300 |
| commit | af9492977aaa10903d54add3187b5cf9d9a00d6c (patch) | |
| tree | 09ecf8ce1238d0daab75b0dc26e3e5c1d96f16a3 /src/components/status/status.js | |
| parent | f6fce92cf7a463fbdf270d494404dca5aae06045 (diff) | |
add back mute prediction, add getter for relationships
Diffstat (limited to 'src/components/status/status.js')
| -rw-r--r-- | src/components/status/status.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/status/status.js b/src/components/status/status.js index a73e3ae2..a36de028 100644 --- a/src/components/status/status.js +++ b/src/components/status/status.js @@ -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) || |
