Description
We use the livechat/ominchannel feature.
It is currently integrated into a website for a department. That works wonderfully.
But now other departments also want to use the live chat. For this, however, it is necessary for them to be able to use different texts (notification of absence and welcome message) as well as business hours. Unfortunately I can’t find a way to set this for different departments.
I tried it in the -Part on our Website with:
<!-- Start of Rocket.Chat Livechat Script -->
<script type="text/javascript">
(function(w, d, s, u) {
w.RocketChat = function(c) { w.RocketChat._.push(c) }; w.RocketChat._ = []; w.RocketChat.url = u;
var h = d.getElementsByTagName(s)[0], j = d.createElement(s);
j.async = true; j.src = 'oururl/livechat/rocketchat-livechat.min.js?_=number'
h.parentNode.insertBefore(j, h);
})(window, document, 'script', 'oururl/livechat');
RocketChat(function() {
this.setDepartment('Chat');
this.initialize({
theme: {
title: "Chat", // default widget title when the status of service is online
offlineTitle: "Live-Chat offline", // default widget title status of service is online
offlineText: "Sorry, we´re out of office, please try later.",
},
The offline Title will be shown, but not the Text. But we urgent need to wrote different text per department. How can I resolve it? I can´t find some information about offline Text in den documentation.
Server Setup Information
- Version of Rocket.Chat Server: 5.3.0
- Operating System: Ubuntu 22.04
- Deployment Method:
- Number of Running Instances: 1
- NodeJS Version: 14.19.3
- MongoDB Version: 4.4.17