From f7d3792df9fd01ea7baabaf9b612031b1f28d7ab Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 25 Aug 2017 20:45:38 +0300 Subject: Add basic support for view mail message. --- src/net/eathena/mailrecv.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/net/eathena/mailrecv.cpp') diff --git a/src/net/eathena/mailrecv.cpp b/src/net/eathena/mailrecv.cpp index 93a548c69..ac638b300 100644 --- a/src/net/eathena/mailrecv.cpp +++ b/src/net/eathena/mailrecv.cpp @@ -110,7 +110,7 @@ void MailRecv::processReadMail(Net::MessageIn &msg) mail->text = msg.readString(sz, "message"); msg.readUInt8("zero"); mail->strTime = timeToStr(mail->time); - mailWindow->showMessage(mail); + mailWindow->showMessage(mail, mail->itemId != 0 ? 1 : 0); } void MailRecv::processGetAttachment(Net::MessageIn &msg) -- cgit v1.2.3-70-g09d2