mirror of
https://github.com/friendica/friendica
synced 2025-04-25 14:30:10 +00:00
Issue 11853/11867: Fix reshare of public posts
This commit is contained in:
parent
1e4e7d5b58
commit
2173fb38e0
5 changed files with 24 additions and 27 deletions
|
@ -228,7 +228,7 @@ class Processor
|
|||
{
|
||||
$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']]);
|
||||
Logger::notice('No existing item, item will be created', ['uri' => $activity['id']]);
|
||||
$item = self::createItem($activity, false);
|
||||
if (empty($item)) {
|
||||
Queue::remove($activity);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue