A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.
fix: align self answer update notification
Prithvijit Dasgupta1819bc42e536
diff --git a/internal/service/content/answer_service.go b/internal/service/content/answer_service.goindex d96d75c5..f66ad837 100644--- a/internal/service/content/answer_service.go+++ b/internal/service/content/answer_service.go@@ -625,6 +625,11 @@ func (as *AnswerService) ShowFormat(ctx context.Context, data *entity.Answer) *s}func (as *AnswerService) notificationUpdateAnswer(ctx context.Context, questionUserID, answerID, answerUserID string) {+ // If the answer is updated by me, there is no notification for myself.+ // equivalent behaviour as AnswerService.notificationAnswerTheQuestion+ if questionUserID == answerUserID {+ return+ }msg := &schema.NotificationMsg{TriggerUserID: answerUserID,ReceiverUserID: questionUserID,