mirror of
https://github.com/friendica/friendica
synced 2024-11-19 04:23:41 +00:00
Abort when public item cannot be inserted
This commit is contained in:
parent
8227367522
commit
8b698b183d
1 changed files with 4 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue