Only show text in desktop notification.
This commit is contained in:
parent
f5e0d576f3
commit
a583cc330f
1 changed files with 1 additions and 1 deletions
|
@ -587,7 +587,7 @@ class ChatWindow extends App.Controller
|
||||||
@sounds.message.play()
|
@sounds.message.play()
|
||||||
@notifyDesktop(
|
@notifyDesktop(
|
||||||
title: @name
|
title: @name
|
||||||
body: message
|
body: App.Utils.html2text(message)
|
||||||
url: '#customer_chat'
|
url: '#customer_chat'
|
||||||
callback: =>
|
callback: =>
|
||||||
App.Event.trigger('chat_focus', { session_id: @session.session_id })
|
App.Event.trigger('chat_focus', { session_id: @session.session_id })
|
||||||
|
|
Loading…
Reference in a new issue