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:
parent
0f5192bf19
commit
ff94a95589
@ -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) => {
|
||||
|
Loading…
Reference in New Issue
Block a user