Hey Kristof,
So users who have not posted comments are receiving notifications about new comments in that thread?
Or are they receiving moderator notifications?
User notifications are only sent to users that have subscribed to a content item -> we query the comment table, if the user has provided email + has set the option to notify to yes and then we send email to this user.
for moderators -> we get the users in the selected groups and then we make a query to get the emails from jos_users. By looking at the code I don't understand what could be wrong with that part either.
my advise would be to debug the part in
components\com_comment\classes\joomlacomment\JOSC_notification.php line 240 -> check to see if the function really returns the moderators (but it should... as it is a standard joomla fuction JAccess::getUsersBygroup)
Regards,
Daniel