summaryrefslogtreecommitdiff
path: root/src/net/eathena/mailrecv.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-08-25 20:45:38 +0300
committerAndrei Karas <akaras@inbox.ru>2017-08-25 20:45:38 +0300
commitf7d3792df9fd01ea7baabaf9b612031b1f28d7ab (patch)
treea38b12795443c2c364059cf418d6171171d4434b /src/net/eathena/mailrecv.cpp
parent6adafcc07e2101ab085bd9f2182c965ef70d0519 (diff)
downloadplus-f7d3792df9fd01ea7baabaf9b612031b1f28d7ab.tar.gz
plus-f7d3792df9fd01ea7baabaf9b612031b1f28d7ab.tar.bz2
plus-f7d3792df9fd01ea7baabaf9b612031b1f28d7ab.tar.xz
plus-f7d3792df9fd01ea7baabaf9b612031b1f28d7ab.zip
Add basic support for view mail message.
Diffstat (limited to 'src/net/eathena/mailrecv.cpp')
-rw-r--r--src/net/eathena/mailrecv.cpp2
1 files changed, 1 insertions, 1 deletions
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)