mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-23 00:01:21 -04:00
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:
parent
a34c482db1
commit
1821d8cb06
2 changed files with 11 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue