You've already forked joplin
							
							
				mirror of
				https://github.com/laurent22/joplin.git
				synced 2025-10-31 00:07:48 +02:00 
			
		
		
		
	Desktop: Fixes #2144: Fix notifications on Windows 7
This commit is contained in:
		| @@ -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) => { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user