X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModel%2FItem.php;h=4a3b6ed580df7d732e4520ec0746b10bdd15c9ec;hb=50580fd04cf7639905ff77dd8a58910c9c8c5a52;hp=7439139e0564ab2cceab81d1a8424216652d3ecd;hpb=39724d5079a51e1d4aebda01d6bd497014f329e8;p=friendica.git diff --git a/src/Model/Item.php b/src/Model/Item.php index 7439139e05..4a3b6ed580 100644 --- a/src/Model/Item.php +++ b/src/Model/Item.php @@ -1411,7 +1411,7 @@ class Item $is_reshare = ($item['gravity'] == GRAVITY_ACTIVITY) && ($item['verb'] == Activity::ANNOUNCE); if ((($item['gravity'] == GRAVITY_PARENT) || $is_reshare) && - DI::pConfig()->get($uid, 'system', 'accept_only_sharer') === self::COMPLETION_NONE && + DI::pConfig()->get($uid, 'system', 'accept_only_sharer') == self::COMPLETION_NONE && !Contact::isSharingByURL($item['author-link'], $uid) && !Contact::isSharingByURL($item['owner-link'], $uid)) { Logger::info('Contact is not a follower, thread will not be stored', ['author' => $item['author-link'], 'uid' => $uid]);