2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 22:46:10 +00:00

Added support of custom promo suggestions.

This commit is contained in:
23rd
2025-05-06 12:13:55 +03:00
parent c2e887a86e
commit 197f6b05ae
5 changed files with 83 additions and 7 deletions

View File

@@ -23,6 +23,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "mtproto/mtproto_dc_options.h"
#include "data/business/data_shortcut_messages.h"
#include "data/components/credits.h"
#include "data/components/promo_suggestions.h"
#include "data/components/scheduled_messages.h"
#include "data/components/top_peers.h"
#include "data/notify/data_notify_settings.h"
@@ -2068,6 +2069,7 @@ void Updates::feedUpdate(const MTPUpdate &update) {
case mtpc_updateConfig: {
session().mtp().requestConfig();
session().promoSuggestions().invalidate();
} break;
case mtpc_updateUserPhone: {