From 3ce44a7720046886c98faf4939ccb233536b70b7 Mon Sep 17 00:00:00 2001 From: thunder2 Date: Tue, 2 Aug 2011 21:55:31 +0000 Subject: [PATCH] Fixed the sending of outgoing messages. git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4516 b45a01b8-16f6-495d-af2f-9b41ad6348cc --- libretroshare/src/services/p3msgservice.cc | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/libretroshare/src/services/p3msgservice.cc b/libretroshare/src/services/p3msgservice.cc index 7dbd76140..6e06a6b31 100644 --- a/libretroshare/src/services/p3msgservice.cc +++ b/libretroshare/src/services/p3msgservice.cc @@ -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 */ {