Fixed: Read Report maker 54/76354/2
authorDenis Dolzhenko <d.dolzhenko@samsung.com>
Thu, 23 Jun 2016 12:20:55 +0000 (15:20 +0300)
committerAndrey Klimenko <and.klimenko@samsung.com>
Thu, 23 Jun 2016 13:33:30 +0000 (06:33 -0700)
Change-Id: I304abd85ce5f4d275d0ba4aa71aaed3e995917b9
Signed-off-by: Denis Dolzhenko <d.dolzhenko@samsung.com>
src/Conversation/Utils/src/MessageDetailContent.cpp

index 3b90e2d..387a574 100644 (file)
@@ -361,13 +361,15 @@ std::string MessageDetailContent::makeReadReportResult(App &app, MsgId msgId, Th
             readReport.append("<br/>");
             readReport.append(addrList->at(i).getAddress());
             readReport.append(" - ");
-            if(reportList->at(i).getType() == MsgReport::TypeDelivery)
+            if(reportList->at(i).getType() == MsgReport::TypeRead)
             {
                 if(reportList->at(i).getReadStatus() == MsgReport::ReadStatusIsRead)
                 {
                     readReport.append(msg("IDS_MSGF_BODY_MMSREADREPLYMSGREAD"));
+                    readReport.append(" (");
                     time_t time = reportList->at(i).getTime();
                     readReport.append(TimeUtils::makeDateTimeString(time));
+                    readReport.append(")");
                 }
                 else if(reportList->at(i).getReadStatus() == MsgReport::ReadStatusIsDeleted)
                 {