]> git.mxchange.org Git - friendica-addons.git/commitdiff
[advancedcontentfilter] Fix obsolete reference to Repository\PostMedia->splitAttachments
authorBenjamin Lorteau <benjamin.lorteau@viacomcbs.com>
Tue, 14 Nov 2023 21:25:06 +0000 (16:25 -0500)
committerBenjamin Lorteau <benjamin.lorteau@viacomcbs.com>
Tue, 14 Nov 2023 21:25:06 +0000 (16:25 -0500)
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;
 }