New version.
Now chats can have priority. It can be either embed variable either department attribute. Pending chats with higher priority will appear higher in the pending chats list.
execute doc/update_db/update_31.sql and follow standard upgrade instructions