mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-11-21 22:23:41 +00:00
mailstream includes post media in message body
This commit is contained in:
parent
7827be89c8
commit
4352a358a7
1 changed files with 2 additions and 0 deletions
|
@ -374,6 +374,8 @@ function mailstream_send(string $message_id, array $item, array $user): bool
|
|||
|
||||
require_once (dirname(__file__) . '/phpmailer/class.phpmailer.php');
|
||||
|
||||
$item['body'] = Post\Media::addAttachmentsToBody($item['uri-id'], $item['body']);
|
||||
|
||||
$attachments = [];
|
||||
mailstream_do_images($item, $attachments);
|
||||
$frommail = DI::config()->get('mailstream', 'frommail');
|
||||
|
|
Loading…
Reference in a new issue