diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-02-03 20:41:57 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-02-03 20:41:57 +0300 |
commit | 329771bb20094d2c4587310f1c3c2b7342d837e6 (patch) | |
tree | a9bcf6cf296a9a7ca3fac16730d3cc76fb938a20 /src/gui | |
parent | 601a1969d813672d7cc65edc3bd873067c551e4d (diff) | |
download | manaplus-329771bb20094d2c4587310f1c3c2b7342d837e6.tar.gz manaplus-329771bb20094d2c4587310f1c3c2b7342d837e6.tar.bz2 manaplus-329771bb20094d2c4587310f1c3c2b7342d837e6.tar.xz manaplus-329771bb20094d2c4587310f1c3c2b7342d837e6.zip |
Update last seen also from online list.
It lack account id, but can update time.
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/windows/whoisonline.cpp | 4 |
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; |