Odoo 10 live chat button does not appear at all, when no internal user is logged in
I try to customize the Live chat module and run the live chat loader via live_chat.js file from my custom module. I changed the root where it is called in im_livechat.loader template and in website_livechat.assets_frontend template, because I failed to extend the original Widget.
It works fine.
But when no one is logged in the system, button doesn't appear. I guess it should be not like this and button should appear with the message alert(_t("None of our collaborators seems to be available, please try again later.")) if no one is logged.
Any suggestions or help please.