Fix server-side error when adding a user to a chat, that was alreadt in it.