diff --git a/Telegram/SourceFiles/data/data_message_reactions.cpp b/Telegram/SourceFiles/data/data_message_reactions.cpp index 6ba0b88b1..ac5791ef8 100644 --- a/Telegram/SourceFiles/data/data_message_reactions.cpp +++ b/Telegram/SourceFiles/data/data_message_reactions.cpp @@ -261,6 +261,15 @@ PossibleItemReactionsRef LookupPossibleReactions( } result.customAllowed = (allowed.type == AllowedReactionsType::All) && premiumPossible; + + const auto favoriteId = reactions->favoriteId(); + if (favoriteId.custom() + && result.customAllowed + && !ranges::contains(result.recent, favoriteId, &Reaction::id)) { + if (const auto temp = reactions->lookupTemporary(favoriteId)) { + result.recent.insert(begin(result.recent), temp); + } + } } if (!item->reactionsAreTags()) { const auto toFront = [&](Data::ReactionId id) {