Update API scheme to layer 172.

This commit is contained in:
John Preston
2024-01-09 13:13:30 +04:00
parent c364383cf0
commit ca25ad57b1
16 changed files with 295 additions and 81 deletions
@@ -162,7 +162,7 @@ bool SendProgressManager::skipRequest(const Key &key) const {
}
const auto recently = base::unixtime::now() - kSendTypingsToOfflineFor;
const auto online = user->onlineTill;
if (online == -2) { // last seen recently
if (online == kOnlineRecently) {
return false;
} else if (online < 0) {
return (-online < recently);