mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
fixed small bug that prevented online status in chat window to be updated
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@6449 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
6b0594dfe1
commit
b8239abf40
@ -865,10 +865,10 @@ void ChatWidget::updateStatus(const QString &peer_id, int status)
|
||||
// the peers status has changed
|
||||
|
||||
QString peerName ;
|
||||
uint32_t status ;
|
||||
uint32_t stts ;
|
||||
std::string pgp_id ;
|
||||
|
||||
if(rsMsgs->getDistantChatStatus(peerId,status,pgp_id))
|
||||
if(rsMsgs->getDistantChatStatus(peerId,stts,pgp_id))
|
||||
peerName = QString::fromUtf8(rsPeers->getPeerName(pgp_id).c_str());
|
||||
else
|
||||
peerName = QString::fromUtf8(rsPeers->getPeerName(peerId).c_str());
|
||||
|
Loading…
Reference in New Issue
Block a user