aboutsummaryrefslogtreecommitdiffstats
path: root/internal/notifier/service/planner.go
diff options
context:
space:
mode:
authorLibravatar Mo Tarbin <mhed.t91@gmail.com>2024-07-07 02:52:52 -0400
committerLibravatar Mo Tarbin <mhed.t91@gmail.com>2024-07-07 02:52:52 -0400
commit9fe382d26e5d8cbe707468bb9a019067fec7d291 (patch)
tree39c687d6d343100dfcbdd819036c8d31517d8808 /internal/notifier/service/planner.go
parent2004031055b58c8152ff0a5441ee7e5337c1acbc (diff)
downloaddonetick-9fe382d26e5d8cbe707468bb9a019067fec7d291.tar.gz
donetick-9fe382d26e5d8cbe707468bb9a019067fec7d291.tar.bz2
donetick-9fe382d26e5d8cbe707468bb9a019067fec7d291.zip
Update chore notification messages to use markdown formatting
Diffstat (limited to 'internal/notifier/service/planner.go')
-rw-r--r--internal/notifier/service/planner.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/notifier/service/planner.go b/internal/notifier/service/planner.go
index 615fa0d..05d600d 100644
--- a/internal/notifier/service/planner.go
+++ b/internal/notifier/service/planner.go
@@ -112,7 +112,7 @@ func generatePreDueNotifications(chore *chModel.Chore, users []*cModel.UserCircl
TypeID: 3,
UserID: user.ID,
TargetID: fmt.Sprint(user.ChatID),
- Text: fmt.Sprintf("📢 Heads up! Chore '%s' is due soon (on %s) and assigned to %s.", chore.Name, chore.NextDueDate.Format("January 2nd"), assignee.DisplayName),
+ Text: fmt.Sprintf("📢 Heads up! *%s* is due soon (on %s) and assigned to %s.", chore.Name, chore.NextDueDate.Format("January 2nd"), assignee.DisplayName),
}
notifications = append(notifications, notification)