aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2015-12-02 09:44:25 +0100
committerMario Vavti <mario@mariovavti.com>2015-12-02 09:44:25 +0100
commit593423434c0c0e8d1ebb43d97b2dda7e6b4d67bd (patch)
treec93fb653017a28e8ec6c24ea10ff14e24b67618c /mod
parent78e18fcdcfaa879db1d7bf487c2e5de0e43e34b0 (diff)
downloadvolse-hubzilla-593423434c0c0e8d1ebb43d97b2dda7e6b4d67bd.tar.gz
volse-hubzilla-593423434c0c0e8d1ebb43d97b2dda7e6b4d67bd.tar.bz2
volse-hubzilla-593423434c0c0e8d1ebb43d97b2dda7e6b4d67bd.zip
fix attachment rendering for mail
Diffstat (limited to 'mod')
-rw-r--r--mod/mail.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/mail.php b/mod/mail.php
index 536149a28..44c4b479d 100644
--- a/mod/mail.php
+++ b/mod/mail.php
@@ -329,7 +329,8 @@ function mail_content(&$a) {
'to_url' => chanlink_hash($message['to_xchan']),
'to_photo' => $message['to']['xchan_photo_s'],
'subject' => $message['title'],
- 'body' => smilies(bbcode($message['body']) . $s),
+ 'body' => smilies(bbcode($message['body'])),
+ 'attachments' => $s,
'delete' => t('Delete message'),
'dreport' => t('Delivery report'),
'recall' => t('Recall message'),