From f6f22378f11903ace5305a80f4ff40e94cb46423 Mon Sep 17 00:00:00 2001 From: Michael Date: Fri, 14 Jun 2019 18:34:17 +0000 Subject: [PATCH] Ignored stuff must be stored. --- src/Model/Item.php | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/Model/Item.php b/src/Model/Item.php index 67d051d4c..4e0d48807 100644 --- a/src/Model/Item.php +++ b/src/Model/Item.php @@ -1458,11 +1458,6 @@ class Item extends BaseObject return 0; } - if (!empty($uid) && ($item['parent-uri'] === $item['uri']) && Contact::isIgnoredByUser($item['author-link'], $uid)) { - Logger::notice('Author is ignored by user', ['author-link' => $item['author-link'], 'uid' => $uid, 'item-uri' => $item['uri']]); - return 0; - } - $default = ['url' => $item['owner-link'], 'name' => $item['owner-name'], 'photo' => $item['owner-avatar'], 'network' => $item['network']]; @@ -1483,11 +1478,6 @@ class Item extends BaseObject return 0; } - if (!empty($uid) && ($item['parent-uri'] === $item['uri']) && Contact::isIgnoredByUser($item['owner-link'], $uid)) { - Logger::notice('Owner is ignored by user', ['owner-link' => $item['owner-link'], 'uid' => $uid, 'item-uri' => $item['uri']]); - return 0; - } - if ($item['network'] == Protocol::PHANTOM) { $item['network'] = Protocol::DFRN; Logger::notice('Missing network, setting to {network}.', [