mirror of
https://github.com/friendica/friendica
synced 2025-04-28 02:30:16 +00:00
Fix missing attached links in posts
This commit is contained in:
parent
11527761d7
commit
b761760d65
10 changed files with 80 additions and 0 deletions
|
@ -114,6 +114,7 @@ class Notifier
|
|||
// find ancestors
|
||||
$condition = ['id' => $target_id, 'visible' => true];
|
||||
$target_item = Post::selectFirst(Item::DELIVER_FIELDLIST, $condition);
|
||||
$target_item = Post\Media::addHTMLAttachmentToItem($target_item);
|
||||
|
||||
if (!DBA::isResult($target_item) || !intval($target_item['parent'])) {
|
||||
Logger::info('No target item', ['cmd' => $cmd, 'target' => $target_id]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue