mirror of
https://github.com/friendica/friendica
synced 2024-12-23 04:00:15 +00:00
Issue 12977: Ensure to fetch quoted posts
This commit is contained in:
parent
bb0cb0dc11
commit
ab89e89b40
1 changed files with 3 additions and 1 deletions
|
@ -630,7 +630,7 @@ class Receiver
|
|||
$object_data['object_activity'] = $activity;
|
||||
}
|
||||
|
||||
if (($type == 'as:Create') && $trust_source) {
|
||||
if (($type == 'as:Create') && $trust_source && !in_array($completion, [self::COMPLETION_MANUAL, self::COMPLETION_ANNOUNCE])) {
|
||||
if (self::hasArrived($object_data['object_id'])) {
|
||||
Logger::info('The activity already arrived.', ['id' => $object_data['object_id']]);
|
||||
return true;
|
||||
|
@ -641,6 +641,8 @@ class Receiver
|
|||
Logger::info('The activity is already added.', ['id' => $object_data['object_id']]);
|
||||
return true;
|
||||
}
|
||||
} elseif (($type == 'as:Create') && $trust_source && !self::hasArrived($object_data['object_id'])) {
|
||||
self::addArrivedId($object_data['object_id']);
|
||||
}
|
||||
|
||||
$decouple = DI::config()->get('system', 'decoupled_receiver') && !in_array($completion, [self::COMPLETION_MANUAL, self::COMPLETION_ANNOUNCE]);
|
||||
|
|
Loading…
Reference in a new issue