diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-08-25 20:45:38 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-08-25 20:45:38 +0300 |
commit | f7d3792df9fd01ea7baabaf9b612031b1f28d7ab (patch) | |
tree | a38b12795443c2c364059cf418d6171171d4434b /src/net/eathena/mailrecv.cpp | |
parent | 6adafcc07e2101ab085bd9f2182c965ef70d0519 (diff) | |
download | manaverse-f7d3792df9fd01ea7baabaf9b612031b1f28d7ab.tar.gz manaverse-f7d3792df9fd01ea7baabaf9b612031b1f28d7ab.tar.bz2 manaverse-f7d3792df9fd01ea7baabaf9b612031b1f28d7ab.tar.xz manaverse-f7d3792df9fd01ea7baabaf9b612031b1f28d7ab.zip |
Add basic support for view mail message.
Diffstat (limited to 'src/net/eathena/mailrecv.cpp')
-rw-r--r-- | src/net/eathena/mailrecv.cpp | 2 |
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) |