diff --git a/file/js/be.bastelstu.Chat.litcoffee b/file/js/be.bastelstu.Chat.litcoffee index 5da3c4a..7410e8a 100644 --- a/file/js/be.bastelstu.Chat.litcoffee +++ b/file/js/be.bastelstu.Chat.litcoffee @@ -820,7 +820,7 @@ Send out notifications for the given `message`. The number of unread messages wi newMessageCount: ++newMessageCount title = WCF.Language.get 'chat.global.notify.title' - content = "#{message.username}#{message.separator} #{message.message}" + content = "#{message.username}#{message.separator} #{if message.message.length > 50 then message.message[0..50] + '\u2026' else message.message}" if window.Notification?.permission is 'granted' do ->