On the UI, it is only possible to select the active departments to transfer the livechat room but we still can transfer the chats to the inactive departments by api/v1/livechat/room.transfer.
This will let the visitor transfer the room to the test/internal/private department on Rocket.Chat.
Steps to reproduce:
Deactivate the department
Use api/v1/livechat/room.transfer to transfer the room to the inactive deparment
Expected behavior:
Error returned, could be department not found or department is inactive
Description:
On the UI, it is only possible to select the active departments to transfer the livechat room but we still can transfer the chats to the inactive departments by
api/v1/livechat/room.transfer
. This will let the visitor transfer the room to the test/internal/private department on Rocket.Chat.Steps to reproduce:
api/v1/livechat/room.transfer
to transfer the room to the inactive deparmentExpected behavior:
Error returned, could be
department not found
ordepartment is inactive
Actual behavior:
Room transferred successfully
Server Setup Information:
Client Setup Information
Additional context
Relevant logs: