diff --git a/mod/mail.php b/mod/mail.php index ef9761509..23d1f5224 100644 --- a/mod/mail.php +++ b/mod/mail.php @@ -263,7 +263,14 @@ function mail_content(&$a) { // if( local_channel() && feature_enabled(local_channel(),'richtext') ) // $plaintext = false; - $messages = private_messages_fetch_conversation(local_channel(), $mid, true); + + + if($mailbox == 'combined') { + $messages = private_messages_fetch_conversation(local_channel(), $mid, true); + } + else { + $messages = private_messages_fetch_message(local_channel(), $mid, true); + } if(! $messages) { //info( t('Message not found.') . EOL); diff --git a/view/tpl/mail_conv.tpl b/view/tpl/mail_conv.tpl index 7529f979a..4f54f1a6a 100755 --- a/view/tpl/mail_conv.tpl +++ b/view/tpl/mail_conv.tpl @@ -1,5 +1,4 @@
-
{{$mail.from_name}}
diff --git a/view/tpl/mail_list.tpl b/view/tpl/mail_list.tpl index 7571fd783..fc9b5afa8 100755 --- a/view/tpl/mail_list.tpl +++ b/view/tpl/mail_list.tpl @@ -1,5 +1,5 @@
  • - + {{$message.subject}}
    {{$message.from_name}} > {{$message.to_name}}
    {{$message.date}}