Update CommentPipeline, do not send notifications for self comments

pull/218/head
Daniel Supernault 7 years ago
parent e45ab15352
commit f64cf90dda

@ -42,6 +42,10 @@ class CommentPipeline implements ShouldQueue
$target = $status->profile;
$actor = $comment->profile;
if($actor->id === $target->id) {
return true;
}
try {
$notification = new Notification;

Loading…
Cancel
Save