don't dismiss a rejected follow request on server
This commit is contained in:
parent
75519223f9
commit
92ccaa97bb
3 changed files with 13 additions and 7 deletions
|
@ -47,8 +47,10 @@ const Notification = {
|
|||
},
|
||||
denyUser () {
|
||||
this.$store.state.api.backendInteractor.denyUser({ id: this.user.id })
|
||||
this.$store.dispatch('removeFollowRequest', this.user)
|
||||
this.$store.dispatch('dismissNotification', { id: this.notification.id })
|
||||
.then(() => {
|
||||
this.$store.dispatch('dismissNotificationLocal', { id: this.notification.id })
|
||||
this.$store.dispatch('removeFollowRequest', this.user)
|
||||
})
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue