Fixed notification text replace line feed to space (#6970)

Этот коммит содержится в:
megos
2017-07-19 22:02:20 +09:00
коммит произвёл George Goldberg
родитель fe368a7456
Коммит d064f5eba3

Просмотреть файл

@@ -87,7 +87,7 @@ export function sendDesktopNotification(post, msgProps) {
image |= attachment.image_url.length > 0;
});
notifyText.replace(/\n+/g, ' ');
notifyText = notifyText.replace(/\n+/g, ' ');
if (notifyText.length > 50) {
notifyText = notifyText.substring(0, 49) + '...';
}