From b8239abf40d231dcdd6f84a847b80ed1afd63424 Mon Sep 17 00:00:00 2001 From: csoler Date: Thu, 20 Jun 2013 20:19:10 +0000 Subject: [PATCH] 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 --- retroshare-gui/src/gui/chat/ChatWidget.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/retroshare-gui/src/gui/chat/ChatWidget.cpp b/retroshare-gui/src/gui/chat/ChatWidget.cpp index a2b9640a1..d7860c04d 100644 --- a/retroshare-gui/src/gui/chat/ChatWidget.cpp +++ b/retroshare-gui/src/gui/chat/ChatWidget.cpp @@ -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());