fixed typing message missing

This commit is contained in:
csoler 2025-08-27 17:37:45 +02:00
parent 42f0bd41ae
commit 96fddc9066
6 changed files with 123 additions and 108 deletions

View file

@ -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()