1
0
Fork 0

Abort when public item cannot be inserted

This commit is contained in:
Michael 2022-08-05 05:48:20 +00:00
parent 8227367522
commit 8b698b183d

View file

@ -1082,6 +1082,10 @@ class Processor
$success = true;
} else {
Logger::notice('Item insertion aborted', ['uri' => $item['uri'], 'uid' => $item['uid']]);
if (($item['uid'] == 0) && (count($activity['receiver']) > 1)) {
Logger::info('Public item was aborted. We skip for all users.', ['uri' => $item['uri']]);
break;
}
}
if ($item['uid'] == 0) {