diff --git a/Telegram/SourceFiles/history/history_widget.cpp b/Telegram/SourceFiles/history/history_widget.cpp index 13efe5da9..7d2ec62e8 100644 --- a/Telegram/SourceFiles/history/history_widget.cpp +++ b/Telegram/SourceFiles/history/history_widget.cpp @@ -264,7 +264,8 @@ HistoryWidget::HistoryWidget( }), lifetime()); _scroll->addContentRequests( ) | rpl::start_with_next([=] { - if (_history->loadedAtBottom() + if (_history + && _history->loadedAtBottom() && session().data().sponsoredMessages().append(_history)) { _scroll->contentAdded(); }