From: Michael Date: Thu, 1 Feb 2024 15:59:04 +0000 (+0000) Subject: Channel relay reshares are now private follwers posts X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e60f3e1a99b27528cb60f47645b0de35849a33dd;p=friendica.git Channel relay reshares are now private follwers posts --- diff --git a/src/Model/Item.php b/src/Model/Item.php index 50aa68d7ef..9134bc149f 100644 --- a/src/Model/Item.php +++ b/src/Model/Item.php @@ -1501,7 +1501,11 @@ class Item ]; if (!Post::exists($condition)) { Logger::debug('Reshare post', ['uid' => $uid, 'uri-id' => $uri_id]); - self::performActivity($item['id'], 'announce', $uid); + $allow_cid = ''; + $allow_gid = '<' . Circle::FOLLOWERS . '>'; + $deny_cid = ''; + $deny_gid = ''; + self::performActivity($item['id'], 'announce', $uid, $allow_cid, $allow_gid, $deny_cid, $deny_gid); } else { Logger::debug('Reshare already exists', ['uid' => $uid, 'uri-id' => $uri_id]); }