From 350cab0ff0c05398c3588268a15f73a7f86134a1 Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Tue, 18 Feb 2025 00:29:39 +0800 Subject: [PATCH] :lipstick: Optimize reply notification --- pkg/internal/services/posts.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/internal/services/posts.go b/pkg/internal/services/posts.go index 013e452..207ac0a 100644 --- a/pkg/internal/services/posts.go +++ b/pkg/internal/services/posts.go @@ -430,10 +430,10 @@ func NewPost(user models.Publisher, item models.Post) (models.Post, error) { log.Debug().Uint("user", *op.Publisher.AccountID).Msg("Notifying the original poster their post got replied...") err = NotifyPosterAccount( op.Publisher, - item, + op, "Post got replied", fmt.Sprintf("%s (%s) replied you: %s", user.Nick, user.Name, content), - "interactive.feedback", + "interactive.reply", fmt.Sprintf("%s replied your post #%d", user.Nick, *item.ReplyID), ) if err != nil {