mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 22:25:04 -04:00
reworked logic of distant chat so as to handle multiple conversations at once and cope with multi-tunneling system.
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@7693 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
d70bb01b2e
commit
7014a8f171
3 changed files with 378 additions and 348 deletions
|
@ -906,9 +906,13 @@ void IdDialog::IdListCustomPopupMenu( QPoint )
|
|||
std::list<RsGxsId> own_identities ;
|
||||
rsIdentity->getOwnIds(own_identities) ;
|
||||
|
||||
if(own_identities.size() == 1)
|
||||
if(own_identities.size() <= 1)
|
||||
{
|
||||
QAction * action = contextMnu.addAction(QIcon(),"Chat with this peer",this,SLOT(chatIdentity()));
|
||||
|
||||
if(own_identities.empty())
|
||||
action->setEnabled(false) ;
|
||||
else
|
||||
action->setData(QString::fromStdString((own_identities.front()).toStdString())) ;
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue