Fixed function in actions/participants.js