[advancedcontentfilter] Fix obsolete reference to Repository\PostMedia->splitAttachments

pull/1436/head
Benjamin Lorteau 2023-11-14 16:25:06 -05:00
parent 8d3d0f267b
commit 6a46d05bca
1 changed files with 1 additions and 1 deletions

View File

@ -455,7 +455,7 @@ function advancedcontentfilter_prepare_item_row(array $item_row): array
$item_row['tags'] = $tags['tags'];
$item_row['hashtags'] = $tags['hashtags'];
$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;
}