diff --git a/retroshare-gui/src/gui/msgs/MessageUserNotify.cpp b/retroshare-gui/src/gui/msgs/MessageUserNotify.cpp index 5414802e0..b29f264fb 100644 --- a/retroshare-gui/src/gui/msgs/MessageUserNotify.cpp +++ b/retroshare-gui/src/gui/msgs/MessageUserNotify.cpp @@ -94,7 +94,8 @@ void MessageUserNotify::handleEvent_main_thread(std::shared_ptr e std::set::const_iterator it; - switch (fe->mMailStatusEventCode) { + switch (fe->mMailStatusEventCode) + { case RsMailStatusEventCode::NEW_MESSAGE: for (it = fe->mChangedMsgIds.begin(); it != fe->mChangedMsgIds.end(); ++it) { MessageInfo msgInfo; @@ -102,7 +103,8 @@ void MessageUserNotify::handleEvent_main_thread(std::shared_ptr e NotifyQt::getInstance()->addToaster(RS_POPUP_MSG, msgInfo.msgId.c_str(), msgInfo.title.c_str(), msgInfo.msg.c_str() ); } } - break; + updateIcon(); + break; case RsMailStatusEventCode::MESSAGE_CHANGED: case RsMailStatusEventCode::MESSAGE_REMOVED: updateIcon();