mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-15 01:25:56 -04:00
fixed wrong denied/accepted label on own key in keyring
This commit is contained in:
parent
fdf6a32236
commit
f6999accf3
1 changed files with 2 additions and 6 deletions
|
@ -228,15 +228,11 @@ QVariant pgpid_item_model::data(const QModelIndex &index, int role) const
|
||||||
break;
|
break;
|
||||||
case COLUMN_CHECK:
|
case COLUMN_CHECK:
|
||||||
{
|
{
|
||||||
if (detail.accept_connection)
|
if (detail.accept_connection || rsPeers->getGPGOwnId() == detail.gpg_id)
|
||||||
{
|
|
||||||
return tr("Accepted");
|
return tr("Accepted");
|
||||||
}
|
|
||||||
else
|
else
|
||||||
{
|
|
||||||
return tr("Denied");
|
return tr("Denied");
|
||||||
}
|
}
|
||||||
}
|
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue