Set own status initially to online.

git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4592 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
thunder2 2011-09-08 13:17:49 +00:00
parent a34c482db1
commit 1821d8cb06
2 changed files with 11 additions and 2 deletions

View file

@ -150,10 +150,10 @@ void AvatarWidget::refreshStatus()
{
StatusInfo statusInfo;
// No check of return value. Non existing status info is handled as offline.
if (mFlag.isOwnId) {
rsStatus->getOwnStatus(statusInfo);
} else {
// No check of return value. Non existing status info is handled as offline.
rsStatus->getStatus(mId, statusInfo);
}
updateStatus(QString::fromStdString(statusInfo.id), statusInfo.status);