mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-06 21:58:57 -04:00
Don't add own sent mail to activity page as incoming mail
This commit is contained in:
parent
5d9ce662e9
commit
8f21c158c6
2 changed files with 3 additions and 1 deletions
|
@ -308,6 +308,8 @@ enum class RsMailStatusEventCode: uint8_t
|
||||||
|
|
||||||
/// An error occurred attempting to sign the message
|
/// An error occurred attempting to sign the message
|
||||||
SIGNATURE_FAILED = 0x04,
|
SIGNATURE_FAILED = 0x04,
|
||||||
|
|
||||||
|
MESSAGE_CHANGED = 0x05,
|
||||||
};
|
};
|
||||||
|
|
||||||
struct RsMailStatusEvent : RsEvent
|
struct RsMailStatusEvent : RsEvent
|
||||||
|
|
|
@ -2119,7 +2119,7 @@ void p3MsgService::notifyDataStatus( const GRouterMsgPropagationId& id,
|
||||||
if(rsEvents)
|
if(rsEvents)
|
||||||
{
|
{
|
||||||
auto pEvent = std::make_shared<RsMailStatusEvent>();
|
auto pEvent = std::make_shared<RsMailStatusEvent>();
|
||||||
pEvent->mMailStatusEventCode = RsMailStatusEventCode::NEW_MESSAGE;
|
pEvent->mMailStatusEventCode = RsMailStatusEventCode::MESSAGE_CHANGED;
|
||||||
pEvent->mChangedMsgIds.insert(std::to_string(msg_id));
|
pEvent->mChangedMsgIds.insert(std::to_string(msg_id));
|
||||||
rsEvents->postEvent(pEvent);
|
rsEvents->postEvent(pEvent);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue