Skip to content

Commit

Permalink
fix(ban): do not try to remove a banned user (handled by backend)
Browse files Browse the repository at this point in the history
Signed-off-by: Maksim Sukharev <[email protected]>
  • Loading branch information
Antreesy authored and backportbot[bot] committed Sep 18, 2024
1 parent d407ebf commit 8f9bf53
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/store/participantsStore.js
Original file line number Diff line number Diff line change
Expand Up @@ -595,8 +595,9 @@ const actions = {
showError(t('spreed', 'Error while banning the participant'))
throw error
}
} else {
await removeAttendeeFromConversation(token, attendeeId)
}
await removeAttendeeFromConversation(token, attendeeId)
commit('deleteParticipant', { token, attendeeId })
},

Expand Down

0 comments on commit 8f9bf53

Please sign in to comment.