]> git.mxchange.org Git - friendica-addons.git/commitdiff
Fix error in mailstream addon
authorArt4 <art4@wlabs.de>
Thu, 13 Mar 2025 10:29:47 +0000 (10:29 +0000)
committerArt4 <art4@wlabs.de>
Thu, 13 Mar 2025 10:29:47 +0000 (10:29 +0000)
mailstream/mailstream.php

index 5228b168a528cb13440e847ea38e9a888c131712..98654831989d07811d04103fad4ce2289e5b87ba 100644 (file)
@@ -179,7 +179,7 @@ function mailstream_post_hook(array &$item)
 function mailstream_do_images(array &$item, array &$attachments)
 {
        if (!DI::pConfig()->get($item['uid'], 'mailstream', 'attachimg')) {
-               return;
+               return $attachments;
        }
 
        $attachments = [];