mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-06-25 06:40:58 -04:00
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:
parent
8ab9c59a9f
commit
b21fae52d0
6 changed files with 20 additions and 4 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue