when assigning a chat to an agent the chat should automatically get that new assigned agent "main department" (set it on profile settings). even if agent refuses the chat - that chat
should still be assigned to that department
and only be changed manually.