Limited count of sponsored messages at bottom to single one for now.

This commit is contained in:
23rd 2022-11-01 18:51:43 +03:00 committed by John Preston
parent 3b79d944af
commit 969b051c8f

View file

@ -138,6 +138,7 @@ void SponsoredMessages::parse(
list.received = crl::now();
for (const auto &message : messages) {
append(history, list, message);
break;
}
}, [](const MTPDmessages_sponsoredMessagesEmpty &) {
});