mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Removed display of stale sponsored messages.
This commit is contained in:
@@ -3010,6 +3010,7 @@ void HistoryWidget::loadMessagesDown() {
|
||||
auto loadMigrated = _migrated && !(_migrated->isEmpty() || _migrated->loadedAtBottom() || (!_history->isEmpty() && !_history->loadedAtTop()));
|
||||
auto from = loadMigrated ? _migrated : _history;
|
||||
if (from->loadedAtBottom()) {
|
||||
session().data().sponsoredMessages().request(_history);
|
||||
return;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user