mirror of
https://github.com/telegramdesktop/tdesktop
synced 2024-12-28 01:23:09 +00:00
Fix huge CPU consumption in the group info profile.
This commit is contained in:
parent
d3c152022c
commit
aa160e775c
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user