From a583cc330f015ef19bfc86df63fd16cd8d755d99 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Tue, 18 Jul 2017 15:15:09 +0200 Subject: [PATCH] Only show text in desktop notification. --- app/assets/javascripts/app/controllers/chat.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/app/controllers/chat.coffee b/app/assets/javascripts/app/controllers/chat.coffee index f8e969e86..96f4de60d 100644 --- a/app/assets/javascripts/app/controllers/chat.coffee +++ b/app/assets/javascripts/app/controllers/chat.coffee @@ -587,7 +587,7 @@ class ChatWindow extends App.Controller @sounds.message.play() @notifyDesktop( title: @name - body: message + body: App.Utils.html2text(message) url: '#customer_chat' callback: => App.Event.trigger('chat_focus', { session_id: @session.session_id })