mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-05-17 04:41:48 +02:00
tags confirmed
This commit is contained in:
parent
4ceac19624
commit
0cdb7c679e
2 changed files with 3 additions and 5 deletions
|
@ -55,7 +55,7 @@ namespace garlic
|
|||
for (int i = 0; i < m_NumTags; i++)
|
||||
m_Rnd.GenerateBlock (m_SessionTags[i], 32);
|
||||
m_TagsCreationTime = i2p::util::GetSecondsSinceEpoch ();
|
||||
SetAcknowledged (false);
|
||||
m_IsAcknowledged = false;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -459,7 +459,7 @@ namespace garlic
|
|||
auto it = m_CreatedSessions.find (msgID);
|
||||
if (it != m_CreatedSessions.end ())
|
||||
{
|
||||
it->second->SetAcknowledged (true);
|
||||
it->second->TagsConfirmed (msgID);
|
||||
m_CreatedSessions.erase (it);
|
||||
LogPrint ("Garlic message ", msgID, " acknowledged");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue