mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-29 00:39:55 +00: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