Merge pull request #184 from nagisa77/codex/update-notification-system-for-post-reviews

Implement post review notifications
This commit is contained in:
Tim
2025-07-11 14:37:17 +08:00
committed by GitHub
2 changed files with 41 additions and 0 deletions

View File

@@ -86,6 +86,8 @@ public class PostService {
notificationService.createNotification(admin,
NotificationType.POST_REVIEW_REQUEST, post, null, null, author, null);
}
notificationService.createNotification(author,
NotificationType.POST_REVIEW_REQUEST, post, null, null, null, null);
}
// notify followers of author
for (User u : subscriptionService.getSubscribers(author.getUsername())) {