mirror of
https://hubproxy.babadafafafafa.cn/https://github.com/telegramdesktop/tdesktop
synced 2026-09-20 16:13:46 +08:00
Update API scheme to layer 172.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user