Don't add own sent mail to activity page as incoming mail

This commit is contained in:
thunder2 2021-12-30 18:46:10 +01:00
parent 5d9ce662e9
commit 8f21c158c6
2 changed files with 3 additions and 1 deletions

View File

@ -308,6 +308,8 @@ enum class RsMailStatusEventCode: uint8_t
/// An error occurred attempting to sign the message
SIGNATURE_FAILED = 0x04,
MESSAGE_CHANGED = 0x05,
};
struct RsMailStatusEvent : RsEvent

View File

@ -2119,7 +2119,7 @@ void p3MsgService::notifyDataStatus( const GRouterMsgPropagationId& id,
if(rsEvents)
{
auto pEvent = std::make_shared<RsMailStatusEvent>();
pEvent->mMailStatusEventCode = RsMailStatusEventCode::NEW_MESSAGE;
pEvent->mMailStatusEventCode = RsMailStatusEventCode::MESSAGE_CHANGED;
pEvent->mChangedMsgIds.insert(std::to_string(msg_id));
rsEvents->postEvent(pEvent);
}