Index: src/routes/comments.js
===================================================================
--- src/routes/comments.js	(revision 7bc636b391c66ac399c33e54f7173a022c6a3cbd)
+++ src/routes/comments.js	(revision c9c6a2d6cf1cf1611a79c699dd70c435bda3c203)
@@ -19,4 +19,5 @@
 import { requireAuth } from '../middleware/auth.js';
 import PermissionsService from '../services/PermissionsService.js';
+import { notify } from '../services/NotificationService.js';
 
 const router = express.Router();
@@ -39,5 +40,5 @@
 
   const post = db.prepare(
-    'SELECT id, slug FROM posts WHERE site_id = ? AND slug = ? AND status = ?'
+    'SELECT id, slug, title, author_id FROM posts WHERE site_id = ? AND slug = ? AND status = ?'
   ).get(site.id, postSlug, 'published');
   if (!post) return res.status(404).send('Post not found');
@@ -50,10 +51,12 @@
   // up to the top-level parent so we never go deeper than 1)
   let resolvedParent = null;
+  let parentAuthorId = null;
   if (parentId) {
     const parent = db.prepare(
-      'SELECT id, parent_comment_id FROM comments WHERE id = ? AND post_id = ?'
+      'SELECT id, parent_comment_id, author_id FROM comments WHERE id = ? AND post_id = ?'
     ).get(parentId, post.id);
     if (!parent) return res.status(400).send('Invalid parent comment');
     resolvedParent = parent.parent_comment_id || parent.id;
+    parentAuthorId = parent.author_id; // ontvanger van de "antwoord"-melding
   }
 
@@ -73,4 +76,18 @@
     VALUES (?, ?, ?, ?, ?, ?)
   `).run(commentId, post.id, req.session.user.id, resolvedParent, rawContent, status);
+
+  // Melding (alleen bij een zichtbare reactie): antwoord → de auteur van de reactie
+  // waarop gereageerd is; top-level reactie → de auteur van de post. notify() slaat
+  // jezelf-notificeren over.
+  if (status === 'approved') {
+    const url = `${res.locals.siteUrlBase || ''}/${post.slug}#comment-${commentId}`;
+    const actorId = req.session.user.id;
+    const actorName = req.session.user.username;
+    if (parentId) {
+      notify({ userId: parentAuthorId, actorId, actorName, type: 'reply', postSlug: post.slug, postTitle: post.title, url });
+    } else {
+      notify({ userId: post.author_id, actorId, actorName, type: 'comment', postSlug: post.slug, postTitle: post.title, url });
+    }
+  }
 
   // Where to land after submit:
