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:
csoler 2013-06-18 20:13:58 +00:00
parent e6c0217801
commit 491438055d
6 changed files with 32 additions and 5 deletions

View file

@ -306,6 +306,11 @@ bool ChatDialog::hasNewMessages()
return false;
}
QString ChatDialog::getPeerName(const std::string& id) const
{
return QString::fromUtf8( rsPeers->getPeerName(id).c_str() ) ;
}
void ChatDialog::setPeerStatus(uint32_t status)
{
ChatWidget *cw = getChatWidget();