mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-24 22:30:42 -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
1 changed files with 1 additions and 5 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue