mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-01-14 00:49:41 -05:00
fixed wrong denied/accepted label on own key in keyring
This commit is contained in:
parent
fdf6a32236
commit
f6999accf3
@ -228,14 +228,10 @@ QVariant pgpid_item_model::data(const QModelIndex &index, int role) const
|
||||
break;
|
||||
case COLUMN_CHECK:
|
||||
{
|
||||
if (detail.accept_connection)
|
||||
{
|
||||
if (detail.accept_connection || rsPeers->getGPGOwnId() == detail.gpg_id)
|
||||
return tr("Accepted");
|
||||
}
|
||||
else
|
||||
{
|
||||
else
|
||||
return tr("Denied");
|
||||
}
|
||||
}
|
||||
break;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user