From: Michael Date: Sat, 6 Aug 2022 17:11:04 +0000 (+0000) Subject: Merge remote-tracking branch 'upstream/develop' into loop-prevention X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=22c18730640490de0cc07bdea10be793c4cd7b36;p=friendica.git Merge remote-tracking branch 'upstream/develop' into loop-prevention --- 22c18730640490de0cc07bdea10be793c4cd7b36 diff --cc src/Protocol/ActivityPub/Processor.php index a8d51da43a,6f3acadfad..1f336b214d --- a/src/Protocol/ActivityPub/Processor.php +++ b/src/Protocol/ActivityPub/Processor.php @@@ -226,10 -230,10 +226,10 @@@ class Processo */ public static function updateItem(array $activity) { - $item = Post::selectFirst(['uri', 'uri-id', 'thr-parent', 'gravity', 'post-type'], ['uri' => $activity['id']]); + $item = Post::selectFirst(['uri', 'uri-id', 'thr-parent', 'gravity', 'post-type', 'private'], ['uri' => $activity['id']]); if (!DBA::isResult($item)) { Logger::warning('No existing item, item will be created', ['uri' => $activity['id']]); - $item = self::createItem($activity); + $item = self::createItem($activity, false); if (empty($item)) { return; }