summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-04-30 19:36:13 +0300
committerAndrei Karas <akaras@inbox.ru>2015-04-30 19:36:13 +0300
commit7b04ced9ee8a73259b2d4f92bdf1941a4674e55c (patch)
tree8a47bd179d6076edae176a3f65cef8af2f7ca7de
parentac1522baed408a7626bab9596d2fcd31c8aed351 (diff)
downloadmv-7b04ced9ee8a73259b2d4f92bdf1941a4674e55c.tar.gz
mv-7b04ced9ee8a73259b2d4f92bdf1941a4674e55c.tar.bz2
mv-7b04ced9ee8a73259b2d4f92bdf1941a4674e55c.tar.xz
mv-7b04ced9ee8a73259b2d4f92bdf1941a4674e55c.zip
eathena: refresh mail list on getting notification about new mail.
-rw-r--r--src/net/eathena/mailhandler.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/net/eathena/mailhandler.cpp b/src/net/eathena/mailhandler.cpp
index 68a3a2e67..9acab7718 100644
--- a/src/net/eathena/mailhandler.cpp
+++ b/src/net/eathena/mailhandler.cpp
@@ -216,6 +216,7 @@ void MailHandler::processNewMail(Net::MessageIn &msg)
NotifyManager::notify(NotifyTypes::NEW_MAIL,
strprintf(_("You have new mail from %s with subject %s"),
sender.c_str(), subj.c_str()));
+ refresh();
}
void MailHandler::processSetAttachmentAck(Net::MessageIn &msg)