mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-08 09:05:24 -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 */
|
||||
std::string pid = mit->second->PeerId();
|
||||
peerConnectState pstate;
|
||||
bool toSend = false;
|
||||
|
||||
if (mLinkMgr->isOnline(pid))
|
||||
{
|
||||
if (pstate.state & RS_PEER_S_CONNECTED)
|
||||
{
|
||||
toSend = true;
|
||||
}
|
||||
toSend = true;
|
||||
}
|
||||
else if (pid == ownId) /* FEEDBACK Msg to Ourselves */
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue