mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-06 13:24:16 -04:00
improved display/fixed bugs in security item
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7021 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
6fa0d894d0
commit
bbdc978d00
3 changed files with 13 additions and 2 deletions
|
@ -145,6 +145,9 @@ void NewsFeed::updateDisplay()
|
|||
break;
|
||||
|
||||
case RS_FEED_ITEM_SEC_CONNECT_ATTEMPT:
|
||||
case RS_FEED_ITEM_SEC_WRONG_SIGNATURE:
|
||||
case RS_FEED_ITEM_SEC_BAD_CERTIFICATE:
|
||||
case RS_FEED_ITEM_SEC_INTERNAL_ERROR:
|
||||
if (Settings->getMessageFlags() & RS_MESSAGE_CONNECT_ATTEMPT) {
|
||||
MessageComposer::sendConnectAttemptMsg(fi.mId1, fi.mId2, QString::fromUtf8(fi.mId3.c_str()));
|
||||
}
|
||||
|
|
|
@ -131,7 +131,7 @@ void SecurityItem::updateItemStatic()
|
|||
requestLabel->hide();
|
||||
break;
|
||||
case RS_FEED_ITEM_SEC_BAD_CERTIFICATE:
|
||||
title = tr("Certificate is invalid.");
|
||||
title = tr("Certificate is invalid. This peer is probably not who he claims to be.");
|
||||
requestLabel->hide();
|
||||
break;
|
||||
case RS_FEED_ITEM_SEC_INTERNAL_ERROR:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue