mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
fixed bug in distant chat accepting tunnels for collecting invites with same hash
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6491 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
940ffd6d9c
commit
6ee0aa9b3f
@ -2920,6 +2920,9 @@ bool p3ChatService::handleTunnelRequest(const std::string& hash,const std::strin
|
|||||||
if(it == _distant_chat_invites.end())
|
if(it == _distant_chat_invites.end())
|
||||||
return false ;
|
return false ;
|
||||||
|
|
||||||
|
if(it->second.encrypted_radix64_string.empty()) // don't respond to collected invites. Only to the ones we actually created!
|
||||||
|
return false ;
|
||||||
|
|
||||||
it->second.last_hit_time = time(NULL) ;
|
it->second.last_hit_time = time(NULL) ;
|
||||||
return true ;
|
return true ;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user