Added update of message model when messages changed

This commit is contained in:
thunder2 2021-12-30 13:53:10 +01:00
parent c01f98feb9
commit 5d9ce662e9
2 changed files with 2 additions and 0 deletions

View file

@ -1422,6 +1422,7 @@ bool p3MsgService::MessageToDraft(MessageInfo &info, const std::string &msgParen
auto pEvent = std::make_shared<RsMailStatusEvent>();
pEvent->mMailStatusEventCode = RsMailStatusEventCode::MESSAGE_SENT;
pEvent->mChangedMsgIds.insert(std::to_string(msg->msgId));
rsEvents->postEvent(pEvent);
return true;