mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-09-01 06:55:58 +00:00
Request default and recent emoji statuses.
This commit is contained in:
@@ -872,6 +872,16 @@ void TabbedSelector::showPromoForPremiumEmoji() {
|
||||
}, lifetime());
|
||||
}
|
||||
|
||||
void TabbedSelector::provideRecentEmoji(
|
||||
const std::vector<DocumentId> &customRecentList) {
|
||||
for (const auto &tab : _tabs) {
|
||||
if (tab.type() == SelectorTab::Emoji) {
|
||||
const auto emoji = static_cast<EmojiListWidget*>(tab.widget());
|
||||
emoji->provideRecent(customRecentList);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void TabbedSelector::checkRestrictedPeer() {
|
||||
if (_currentPeer) {
|
||||
const auto error = (_currentTabType == SelectorTab::Stickers)
|
||||
|
Reference in New Issue
Block a user