]> git.mxchange.org Git - friendica-addons.git/commitdiff
Merge pull request '[advancedcontentfilter] Fix obsolete reference to Repository...
authorheluecht <heluecht@noreply.git.friendi.ca>
Wed, 15 Nov 2023 19:05:31 +0000 (20:05 +0100)
committerheluecht <heluecht@noreply.git.friendi.ca>
Wed, 15 Nov 2023 19:05:31 +0000 (20:05 +0100)
Reviewed-on: https://git.friendi.ca/friendica/friendica-addons/pulls/1436

advancedcontentfilter/advancedcontentfilter.php

index 2254e587bf2064ff47c164578242b7d90f1f6ca7..f2927f574777c8c88d538049d22faebbb1a59d2e 100644 (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;
 }