mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-17 11:43:43 +00:00
Merge pull request '[advancedcontentfilter] Fix obsolete reference to Repository\PostMedia->splitAttachments' (#1436) from MrPetovan/friendica-addons:bug/1434-advancedcontentfilter-splitAttachments into 2023.09-rc
Reviewed-on: https://git.friendi.ca/friendica/friendica-addons/pulls/1436
This commit is contained in:
commit
5f5c53ab49
1 changed files with 1 additions and 1 deletions
|
@ -455,7 +455,7 @@ function advancedcontentfilter_prepare_item_row(array $item_row): array
|
||||||
$item_row['tags'] = $tags['tags'];
|
$item_row['tags'] = $tags['tags'];
|
||||||
$item_row['hashtags'] = $tags['hashtags'];
|
$item_row['hashtags'] = $tags['hashtags'];
|
||||||
$item_row['mentions'] = $tags['mentions'];
|
$item_row['mentions'] = $tags['mentions'];
|
||||||
$item_row['attachments'] = Post\Media::splitAttachments($item_row['uri-id']);
|
$item_row['attachments'] = DI::postMediaRepository()->splitAttachments($item_row['uri-id']);
|
||||||
|
|
||||||
return $item_row;
|
return $item_row;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue