public function saveNotification(Notification $notification) { if ($notification->fromUserId && $notification->fromUserId === $notification->userId) { // Don't notify self return false; } return $notification->save(); }