improved status display for distant chat

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6437 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
csoler 2013-06-17 21:58:26 +00:00
parent 8ab9c59a9f
commit b21fae52d0
6 changed files with 20 additions and 4 deletions

View file

@ -306,7 +306,12 @@ bool ChatDialog::hasNewMessages()
return false;
}
void ChatDialog::setPeerStatus(uint32_t status)
{
ChatWidget *cw = getChatWidget();
if (cw)
cw->updateStatus(QString::fromStdString(getPeerId()), status);
}
int ChatDialog::getPeerStatus()
{
ChatWidget *cw = getChatWidget();