Skip to content

Commit

Permalink
Strip meta from remind: alerts
Browse files Browse the repository at this point in the history
  • Loading branch information
piascikj committed Mar 18, 2018
1 parent fd590c5 commit c13bf70
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/services/reminders.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,11 @@ class Reminders {

// DOING: Show imdone logo in notifications. id:142 gh:356 ic:gh created:2018-03-16T15:20:01-06:00 due:2018-03-21T15:25:20-06:00 remind:2018-03-19T15:25:20-06:00
notify(task) {
task = new Task(task)
notifier.notify(
{
title: 'imdone reminder',
message: task.text,
message: task.getText({stripMeta: true}),
icon: path.join(packagePath, 'images', 'imdone-logo-banner.png'), // Absolute path (doesn't work on balloons)
sound: 'Tink', // Only Notification Center or Windows Toasters
actions: 'Show'
Expand Down

0 comments on commit c13bf70

Please sign in to comment.