You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fixed
Chat transfer reads department_id.POST /agent/chat/<id>/transfer/ took only agent_id, so the shared ticket
view's Transfer menu (which offers departments and posts {"department_id"}) was refused with 400. It now reads agent_id and/or department_id, as escalated-laravel does: a department takes the ticket,
and without an agent the chat goes back to the queue (unassigned, waiting)
and routing runs again for that department. The older {"type", "id"} body
is read too, and agent_id alone behaves as before. An unknown department
is a 404. chat.transferred now carries to_department_id, and the chat_transferred signal sends a to_department keyword (receivers taking **kwargs are unaffected).