Fix huge CPU consumption in the group info profile.

This commit is contained in:
John Preston 2017-11-11 19:12:49 +04:00
parent d3c152022c
commit aa160e775c

View File

@ -344,7 +344,7 @@ void PeerListRow::refreshStatus() {
_statusType = StatusType::Online;
}
_statusValidTill = getms()
+ App::onlineWillChangeIn(user, time);
+ App::onlineWillChangeIn(user, time) * 1000LL;
} else if (auto chat = peer()->asChat()) {
if (!chat->amIn()) {
setStatusText(lang(lng_chat_status_unaccessible));