I currently receive 2 emails whenever I get a reply to my comments.
The relevant code is here I think:
- https://github.com/KDE/ocs-webserver/blob/master/application/modules/default/controllers/ProductcommentController.php#L69-L73
- https://github.com/KDE/ocs-webserver/blob/master/application/modules/default/controllers/ProductcommentController.php#L115-L162
The easiest way to do this would be to not send a "reply" email in sendNotificationToParent.
if ($product->member_id == $parentComment['member_id']) { return; }
Though the proper way would probably be to send a "reply" email instead of an "owner" email I think. In any case, thank you to whoever first implemented the email feature! I had to periodically check all my "products" for new comments before.