mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-23 13:15:51 -04:00
Rename RS mail tracker id type according to Cyril suggestion
This commit is contained in:
parent
e530616c53
commit
9a8248c1a2
5 changed files with 22 additions and 22 deletions
|
@ -1213,7 +1213,7 @@ uint32_t p3MsgService::sendMail(
|
|||
const std::set<RsGxsId>& cc,
|
||||
const std::set<RsGxsId>& bcc,
|
||||
const std::vector<FileInfo>& attachments,
|
||||
std::set<RsMailTrackId>& trackingIds,
|
||||
std::set<RsMailIdRecipientIdPair>& trackingIds,
|
||||
std::string& errorMsg )
|
||||
{
|
||||
errorMsg.clear();
|
||||
|
@ -1306,7 +1306,7 @@ uint32_t p3MsgService::sendMail(
|
|||
|
||||
const RsMailMessageId mailId = std::to_string(msgId);
|
||||
pEvent->mChangedMsgIds.insert(mailId);
|
||||
trackingIds.insert(RsMailTrackId(mailId, dst));
|
||||
trackingIds.insert(RsMailIdRecipientIdPair(mailId, dst));
|
||||
++ret;
|
||||
}
|
||||
};
|
||||
|
@ -2187,7 +2187,7 @@ bool p3MsgService::notifyGxsTransSendStatus( RsGxsTransId mailId,
|
|||
GxsTransSendStatus status )
|
||||
{
|
||||
Dbg2() << __PRETTY_FUNCTION__ << " " << mailId << ", "
|
||||
<< static_cast<uint>(status) << std::endl;
|
||||
<< static_cast<uint32_t>(status) << std::endl;
|
||||
|
||||
using Evt_t = RsMailStatusEvent;
|
||||
std::shared_ptr<Evt_t> pEvent(new Evt_t());
|
||||
|
@ -2203,7 +2203,7 @@ bool p3MsgService::notifyGxsTransSendStatus( RsGxsTransId mailId,
|
|||
if(it == gxsOngoingMessages.end())
|
||||
{
|
||||
RsErr() << __PRETTY_FUNCTION__<< " " << mailId << ", "
|
||||
<< static_cast<uint>(status)
|
||||
<< static_cast<uint32_t>(status)
|
||||
<< " cannot find pending message to acknowledge!"
|
||||
<< std::endl;
|
||||
return false;
|
||||
|
@ -2221,7 +2221,7 @@ bool p3MsgService::notifyGxsTransSendStatus( RsGxsTransId mailId,
|
|||
if(it2 == msgOutgoing.end())
|
||||
{
|
||||
RsInfo() << __PRETTY_FUNCTION__ << " " << mailId
|
||||
<< ", " << static_cast<uint>(status)
|
||||
<< ", " << static_cast<uint32_t>(status)
|
||||
<< " received receipt for message that is not in "
|
||||
<< "outgoing list, probably it has been acknoweldged "
|
||||
<< "before by other means." << std::endl;
|
||||
|
|
|
@ -67,8 +67,8 @@ public:
|
|||
const std::set<RsGxsId>& cc = std::set<RsGxsId>(),
|
||||
const std::set<RsGxsId>& bcc = std::set<RsGxsId>(),
|
||||
const std::vector<FileInfo>& attachments = std::vector<FileInfo>(),
|
||||
std::set<RsMailTrackId>& trackingIds =
|
||||
RS_DEFAULT_STORAGE_PARAM(std::set<RsMailTrackId>),
|
||||
std::set<RsMailIdRecipientIdPair>& trackingIds =
|
||||
RS_DEFAULT_STORAGE_PARAM(std::set<RsMailIdRecipientIdPair>),
|
||||
std::string& errorMsg =
|
||||
RS_DEFAULT_STORAGE_PARAM(std::string) );
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue