-
Notifications
You must be signed in to change notification settings - Fork 13.1k
Open
Labels
Description
Description:
The Livechat offline form remains visible and allows visitors to submit messages even when no email address is configured to receive them. This leads to a broken UX where visitors believe their messages have been sent, but they are never delivered to anyone.
// TODO Block offline form if Livechat_offline_email is undefined
// (it does not make sense to have an offline form that does nothing)
Steps to reproduce:
- Click the settings icon >
Omnichannel>Livechat Appearance>Omnichannel offlinesection (MUST be admin) - Enable
Display offline form. - Leave the
Email address to send offline messagesfield empty (here the problem) - Open the Livechat widget (
http://localhost:3000/livechat) as a visitor when no agents are online. - Fill out the offline form and click
Send
Expected behavior:
- The offline form should not be visible if there is no destination for the message.
- The visitor should see a message indicating that the offline form is unavailable.
Actual behavior:
- The form is displayed normally.
- The visitor can submit the message.
Server Setup Information:
- Operating System: Linux
- NodeJS Version: 22.16.0
Reactions are currently unavailable