summaryrefslogtreecommitdiff
path: root/src/gui/windows/whoisonline.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-02-03 20:41:57 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-03 20:41:57 +0300
commit329771bb20094d2c4587310f1c3c2b7342d837e6 (patch)
treea9bcf6cf296a9a7ca3fac16730d3cc76fb938a20 /src/gui/windows/whoisonline.cpp
parent601a1969d813672d7cc65edc3bd873067c551e4d (diff)
downloadManaVerse-329771bb20094d2c4587310f1c3c2b7342d837e6.tar.gz
ManaVerse-329771bb20094d2c4587310f1c3c2b7342d837e6.tar.bz2
ManaVerse-329771bb20094d2c4587310f1c3c2b7342d837e6.tar.xz
ManaVerse-329771bb20094d2c4587310f1c3c2b7342d837e6.zip
Update last seen also from online list.
It lack account id, but can update time.
Diffstat (limited to 'src/gui/windows/whoisonline.cpp')
-rw-r--r--src/gui/windows/whoisonline.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/windows/whoisonline.cpp b/src/gui/windows/whoisonline.cpp
index 81225ba33..d51af6b05 100644
--- a/src/gui/windows/whoisonline.cpp
+++ b/src/gui/windows/whoisonline.cpp
@@ -346,6 +346,8 @@ void WhoIsOnline::loadList(const std::vector<OnlinePlayer*> &list)
chatWindow->updateOnline(mOnlineNicks);
if (socialWindow)
socialWindow->updateActiveList();
+ if (actorManager)
+ actorManager->updateSeenPlayers(mOnlineNicks);
}
updateSize();
mFriends.clear();
@@ -681,6 +683,8 @@ void WhoIsOnline::slowLogic()
chatWindow->updateOnline(mOnlineNicks);
if (socialWindow)
socialWindow->updateActiveList();
+ if (actorManager)
+ actorManager->updateSeenPlayers(mOnlineNicks);
}
}
break;