diff options
| author | taehoon <th.dev91@gmail.com> | 2019-03-01 11:37:34 -0500 |
|---|---|---|
| committer | taehoon <th.dev91@gmail.com> | 2019-03-21 16:19:09 -0400 |
| commit | 302310a653083bc82226cf0743d52fc02c277a8a (patch) | |
| tree | 94880874dd334aa1dd54079c22ad3ba96b741198 /src/components/user_card/user_card.js | |
| parent | a6ce191cbcc34f309e9c4d4e3f7e3c11ed020821 (diff) | |
Remove old muting logic
Diffstat (limited to 'src/components/user_card/user_card.js')
| -rw-r--r-- | src/components/user_card/user_card.js | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/components/user_card/user_card.js b/src/components/user_card/user_card.js index 61b784fe..197c61d5 100644 --- a/src/components/user_card/user_card.js +++ b/src/components/user_card/user_card.js @@ -126,18 +126,12 @@ export default { unblockUser () { this.$store.dispatch('unblockUser', this.user.id) }, - muteUser () { // Mastodon Mute + muteUser () { this.$store.dispatch('muteUser', this.user.id) }, - unmuteUser () { // Mastodon Unmute + unmuteUser () { this.$store.dispatch('unmuteUser', this.user.id) }, - toggleMute () { - // TODO: Pleroma mute/unmute, Need to migrate to the Mastodon API - const store = this.$store - store.commit('setMuted', {user: this.user, muted: !this.user.muted}) - store.state.api.backendInteractor.setUserMute(this.user) - }, setProfileView (v) { if (this.switcher) { const store = this.$store |
