mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-27 08:25:53 -04:00
added proper naming functions for distant chat
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6439 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
e6c0217801
commit
491438055d
6 changed files with 32 additions and 5 deletions
|
@ -136,6 +136,16 @@ void PopupDistantChatDialog::closeEvent(QCloseEvent *e)
|
|||
PopupChatDialog::closeEvent(e) ;
|
||||
}
|
||||
|
||||
QString PopupDistantChatDialog::getPeerName(const std::string& id) const
|
||||
{
|
||||
uint32_t status ;
|
||||
std::string pgp_id ;
|
||||
|
||||
if(rsMsgs->getDistantChatStatus(_hash,status,pgp_id))
|
||||
return ChatDialog::getPeerName(pgp_id) ;
|
||||
else
|
||||
return ChatDialog::getPeerName(id) ;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue