mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-12-17 01:24:15 -05:00
fixed typing message missing
This commit is contained in:
parent
42f0bd41ae
commit
96fddc9066
6 changed files with 123 additions and 108 deletions
|
|
@ -338,12 +338,7 @@ void ChatDialog::setPeerStatus(RsStatusValue status)
|
|||
// convert to virtual peer id
|
||||
// this is only required for private and distant chat,
|
||||
// because lobby and broadcast does not have a status
|
||||
RsPeerId vpid;
|
||||
if(mChatId.isPeerId())
|
||||
vpid = mChatId.toPeerId();
|
||||
if(mChatId.isDistantChatId())
|
||||
vpid = RsPeerId(mChatId.toDistantChatId());
|
||||
cw->updateStatus(QString::fromStdString(vpid.toStdString()), status);
|
||||
cw->updateStatus(mChatId, status);
|
||||
}
|
||||
}
|
||||
RsStatusValue ChatDialog::getPeerStatus()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue