mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
Fixed the sending of outgoing messages.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4516 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
466697276e
commit
3ce44a7720
@ -222,15 +222,11 @@ int p3MsgService::checkOutgoingMessages()
|
|||||||
|
|
||||||
/* find the certificate */
|
/* find the certificate */
|
||||||
std::string pid = mit->second->PeerId();
|
std::string pid = mit->second->PeerId();
|
||||||
peerConnectState pstate;
|
|
||||||
bool toSend = false;
|
bool toSend = false;
|
||||||
|
|
||||||
if (mLinkMgr->isOnline(pid))
|
if (mLinkMgr->isOnline(pid))
|
||||||
{
|
{
|
||||||
if (pstate.state & RS_PEER_S_CONNECTED)
|
toSend = true;
|
||||||
{
|
|
||||||
toSend = true;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
else if (pid == ownId) /* FEEDBACK Msg to Ourselves */
|
else if (pid == ownId) /* FEEDBACK Msg to Ourselves */
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user