mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
All read history done through Data::Histories.
This commit is contained in:
@@ -98,7 +98,10 @@ void Histories::readInboxTill(
|
||||
return;
|
||||
}
|
||||
}
|
||||
const auto tillId = item->id;
|
||||
readInboxTill(history, item->id);
|
||||
}
|
||||
|
||||
void Histories::readInboxTill(not_null<History*> history, MsgId tillId) {
|
||||
if (!history->readInboxTillNeedsRequest(tillId)) {
|
||||
return;
|
||||
}
|
||||
|
@@ -36,6 +36,7 @@ public:
|
||||
void readInboxTill(
|
||||
not_null<History*> history,
|
||||
not_null<HistoryItem*> item);
|
||||
void readInboxTill(not_null<History*> history, MsgId tillId);
|
||||
void sendPendingReadInbox(not_null<History*> history);
|
||||
|
||||
private:
|
||||
|
Reference in New Issue
Block a user