Skip to content

Commit

Permalink
Merge pull request #13335 from nextcloud/fix/13334/ban-and-remove-fro…
Browse files Browse the repository at this point in the history
…ntend

fix(ban): do not try to remove a banned user (handled by backend)
  • Loading branch information
Antreesy authored Sep 18, 2024
2 parents 0ed2c56 + 6027a1f commit 61de175
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 61de175

Please sign in to comment.