From aa160e775c6ad3517a57754c5646ec04f2dddcaa Mon Sep 17 00:00:00 2001 From: John Preston Date: Sat, 11 Nov 2017 19:12:49 +0400 Subject: [PATCH] Fix huge CPU consumption in the group info profile. --- Telegram/SourceFiles/boxes/peer_list_box.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/boxes/peer_list_box.cpp b/Telegram/SourceFiles/boxes/peer_list_box.cpp index bf39695a7b..dea2229352 100644 --- a/Telegram/SourceFiles/boxes/peer_list_box.cpp +++ b/Telegram/SourceFiles/boxes/peer_list_box.cpp @@ -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));