mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Limited count of sponsored messages at bottom to single one for now.
This commit is contained in:
parent
3b79d944af
commit
969b051c8f
1 changed files with 1 additions and 0 deletions
|
@ -138,6 +138,7 @@ void SponsoredMessages::parse(
|
||||||
list.received = crl::now();
|
list.received = crl::now();
|
||||||
for (const auto &message : messages) {
|
for (const auto &message : messages) {
|
||||||
append(history, list, message);
|
append(history, list, message);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}, [](const MTPDmessages_sponsoredMessagesEmpty &) {
|
}, [](const MTPDmessages_sponsoredMessagesEmpty &) {
|
||||||
});
|
});
|
||||||
|
|
Loading…
Add table
Reference in a new issue