mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-02 07:25:46 +00:00
Update API scheme on layer 172.
This commit is contained in:
@@ -57,7 +57,7 @@ const auto kPsaBadgePrefix = "cloud_lng_badge_psa_";
|
||||
if (!history) {
|
||||
return false;
|
||||
} else if (const auto user = history->peer->asUser()) {
|
||||
return (user->onlineTill > 0);
|
||||
return !user->lastseen().isHidden();
|
||||
}
|
||||
return !history->isForum();
|
||||
}
|
||||
|
Reference in New Issue
Block a user