mirror of
https://github.com/friendica/friendica
synced 2024-12-23 02:40:17 +00:00
Issue 14250: fix lost quoted posts
This commit is contained in:
parent
de19bf43d9
commit
48ff4f4167
2 changed files with 4 additions and 1 deletions
|
@ -1032,7 +1032,7 @@ class Item
|
|||
}
|
||||
|
||||
$this->emailer->send(new ItemCCEMail(
|
||||
$this->app,
|
||||
$this->userSession,
|
||||
$this->l10n,
|
||||
$this->baseURL,
|
||||
$post,
|
||||
|
|
|
@ -873,6 +873,9 @@ class Processor
|
|||
} elseif ($uri_id = ItemURI::getIdByURI($activity['quote-url'], false)) {
|
||||
Logger::info('Quote was not fetched but the uri-id existed', ['guid' => $item['guid'], 'uri-id' => $item['uri-id'], 'quote' => $activity['quote-url'], 'uri-id' => $uri_id]);
|
||||
$item['quote-uri-id'] = $uri_id;
|
||||
} elseif (Queue::exists($activity['quote-url'], 'as:Create')) {
|
||||
Logger::info('Quote is queued but not processed yet', ['guid' => $item['guid'], 'uri-id' => $item['uri-id'], 'quote' => $activity['quote-url'], 'uri-id' => $uri_id]);
|
||||
$item['quote-uri-id'] = ItemURI::getIdByURI($activity['quote-url']);
|
||||
} else {
|
||||
Logger::info('Quote was not fetched', ['guid' => $item['guid'], 'uri-id' => $item['uri-id'], 'quote' => $activity['quote-url']]);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue