diff --git a/Telegram/SourceFiles/data/components/promo_suggestions.cpp b/Telegram/SourceFiles/data/components/promo_suggestions.cpp index fd6613815c..99ec5f5b2f 100644 --- a/Telegram/SourceFiles/data/components/promo_suggestions.cpp +++ b/Telegram/SourceFiles/data/components/promo_suggestions.cpp @@ -237,7 +237,9 @@ void PromoSuggestions::invalidate() { } std::optional PromoSuggestions::custom() const { - return _custom; + return (_custom && !_dismissedSuggestions.contains(_custom->suggestion)) + ? _custom + : std::nullopt; } void PromoSuggestions::requestContactBirthdays(Fn done, bool force) {