aboutsummaryrefslogtreecommitdiffhomepage
path: root/td/telegram/NotificationManager.cpp
diff options
context:
space:
mode:
authorlevlam <levlam@telegram.org>2024-09-24 18:16:55 +0300
committerlevlam <levlam@telegram.org>2024-09-24 18:16:55 +0300
commit227f45b6fd0886b7aaafcd546367f2291b8c79a2 (patch)
treee6448e0c79bd793145df4ecb166b4507750a8ceb /td/telegram/NotificationManager.cpp
parent11ebbf55456d8f02b66e873f74322d07b5dc34c5 (diff)
Add td_api::pushMessageContentGift.
Diffstat (limited to 'td/telegram/NotificationManager.cpp')
-rw-r--r--td/telegram/NotificationManager.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/td/telegram/NotificationManager.cpp b/td/telegram/NotificationManager.cpp
index f224acc1f..01883a276 100644
--- a/td/telegram/NotificationManager.cpp
+++ b/td/telegram/NotificationManager.cpp
@@ -3005,6 +3005,9 @@ string NotificationManager::convert_loc_key(const string &loc_key) {
if (loc_key == "MESSAGE_SCREENSHOT") {
return "MESSAGE_SCREENSHOT_TAKEN";
}
+ if (loc_key == "MESSAGE_STARGIFT") {
+ return "MESSAGE_STARGIFT";
+ }
if (loc_key == "MESSAGE_STICKER") {
return "MESSAGE_STICKER";
}