aboutsummaryrefslogtreecommitdiffstats
path: root/mod/mail.php
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-09-30 19:27:53 -0700
committerredmatrix <redmatrix@redmatrix.me>2015-09-30 19:27:53 -0700
commit9bdb7bef5dadb3cfb8e3ff661f68b5cc7a70c5cd (patch)
treec8e629199c5fe3e0e3ace04b410a2988d684271e /mod/mail.php
parent54e7d5d260bcec0132939bdb6a3e14780d46a27c (diff)
downloadvolse-hubzilla-9bdb7bef5dadb3cfb8e3ff661f68b5cc7a70c5cd.tar.gz
volse-hubzilla-9bdb7bef5dadb3cfb8e3ff661f68b5cc7a70c5cd.tar.bz2
volse-hubzilla-9bdb7bef5dadb3cfb8e3ff661f68b5cc7a70c5cd.zip
add delivery reports to mail (not backported to redmatrix)
Diffstat (limited to 'mod/mail.php')
-rw-r--r--mod/mail.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/mod/mail.php b/mod/mail.php
index e4a5ebafd..525127a71 100644
--- a/mod/mail.php
+++ b/mod/mail.php
@@ -324,6 +324,7 @@ function mail_content(&$a) {
$mails[] = array(
'mailbox' => $mailbox,
'id' => $message['id'],
+ 'mid' => $message['mid'],
'from_name' => $message['from']['xchan_name'],
'from_url' => chanlink_hash($message['from_xchan']),
'from_photo' => $message['from']['xchan_photo_s'],
@@ -333,6 +334,7 @@ function mail_content(&$a) {
'subject' => $message['title'],
'body' => smilies(bbcode($message['body']) . $s),
'delete' => t('Delete message'),
+ 'dreport' => t('Delivery report'),
'recall' => t('Recall message'),
'can_recall' => (($channel['channel_hash'] == $message['from_xchan']) ? true : false),
'is_recalled' => (intval($message['mail_recalled']) ? t('Message has been recalled.') : ''),