mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-29 01:16:20 -05:00
Fixed to not popup the "Refused Connection" by default
* Fixed to not popup the "Refused Connection" by default * Enable to show via Notify settings "IP security" checbox"
This commit is contained in:
parent
2d8a86f2fa
commit
f794925595
@ -463,7 +463,7 @@ void NewsFeed::handleSecurityEvent(std::shared_ptr<const RsEvent> event)
|
|||||||
#endif
|
#endif
|
||||||
uint flags = Settings->getNewsFeedFlags();
|
uint flags = Settings->getNewsFeedFlags();
|
||||||
|
|
||||||
if(e.mErrorCode == RsAuthSslError::PEER_REFUSED_CONNECTION)
|
if(e.mErrorCode == RsAuthSslError::PEER_REFUSED_CONNECTION && (flags & RS_FEED_TYPE_SECURITY_IP))
|
||||||
{
|
{
|
||||||
addFeedItemIfUnique(new PeerItem(this, NEWSFEED_PEERLIST, e.mSslId, PEER_TYPE_HELLO, false), true );
|
addFeedItemIfUnique(new PeerItem(this, NEWSFEED_PEERLIST, e.mSslId, PEER_TYPE_HELLO, false), true );
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user