aboutsummaryrefslogtreecommitdiff
path: root/src/components/notification/notification.js
diff options
context:
space:
mode:
authorShpuld Shpuldson <shp@cock.li>2020-04-21 23:27:51 +0300
committerShpuld Shpuldson <shp@cock.li>2020-04-21 23:27:51 +0300
commit6bb75a3a6d8452a3e1b88085fe87cf27386f222c (patch)
tree5142716edc3ad960329d212aba4b5250fbb0c1b9 /src/components/notification/notification.js
parentd5457c323a186ed7890e7ba311c36d189c33d3fa (diff)
make relationships separate from users
Diffstat (limited to 'src/components/notification/notification.js')
-rw-r--r--src/components/notification/notification.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/notification/notification.js b/src/components/notification/notification.js
index e7bd769e..09554f54 100644
--- a/src/components/notification/notification.js
+++ b/src/components/notification/notification.js
@@ -56,7 +56,7 @@ const Notification = {
return this.generateUserProfileLink(this.targetUser)
},
needMute () {
- return this.user.muted
+ return (this.$store.state.users.relationships[this.user.id] || {}).muting
}
}
}