aboutsummaryrefslogtreecommitdiffhomepage
path: root/td/telegram/NotificationManager.cpp
diff options
context:
space:
mode:
authorlevlam <levlam@telegram.org>2025-03-19 12:42:29 +0300
committerlevlam <levlam@telegram.org>2025-03-19 12:42:29 +0300
commit5ba4fc6ba830c20a8af5697a06f347263a698223 (patch)
tree6cbd46d0bdec2a57aaa8279535bedcd81c6c6920 /td/telegram/NotificationManager.cpp
parent06911a1276b4cdba5fa8fd0c4e7294375c8266e3 (diff)
Remove USER_FLAG_ usages.
Diffstat (limited to 'td/telegram/NotificationManager.cpp')
-rw-r--r--td/telegram/NotificationManager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/td/telegram/NotificationManager.cpp b/td/telegram/NotificationManager.cpp
index 2b1f7fdc1..641ed74b9 100644
--- a/td/telegram/NotificationManager.cpp
+++ b/td/telegram/NotificationManager.cpp
@@ -2911,7 +2911,7 @@ void NotificationManager::add_push_notification_user(
int32 flags = 0;
if (sender_access_hash != -1) {
// set phone number flag to show that this is a full access hash
- flags = USER_FLAG_HAS_ACCESS_HASH | USER_FLAG_HAS_PHONE_NUMBER;
+ flags = telegram_api::user::ACCESS_HASH_MASK | telegram_api::user::PHONE_MASK;
} else {
sender_access_hash = 0;
}