1. Open file:
    webChat.js
2. Find method definition:
    notifyParticipantLeave
3. In the method find a condition:
    else if (leaveReason === 'transfer_to_user')
4. Replace string:
    'transfer_to_user' with
    'transfer_to_agent'
5. Save and close the file