1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-11-24 08:12:24 +02:00

Desktop: Fixes #2144: Fix notifications on Windows 7

This commit is contained in:
Laurent Cozic 2019-12-18 10:22:01 +00:00
parent 0f5192bf19
commit ff94a95589

View File

@ -72,6 +72,11 @@ class AlarmServiceDriverNode {
};
if ('body' in notification) o.message = notification.body;
// Message is required on Windows 7 however we don't want to repeat the title so
// make it an empty string.
// https://github.com/laurent22/joplin/issues/2144
if (!o.message) o.message = '-';
this.logger().info('AlarmServiceDriverNode::scheduleNotification: Triggering notification:', o);
notifier.notify(o, (error, response) => {