diff options
| author | levlam <levlam@telegram.org> | 2025-05-06 15:03:35 +0300 |
|---|---|---|
| committer | levlam <levlam@telegram.org> | 2025-05-06 15:03:35 +0300 |
| commit | 0a917b0f37410fc555a799a0f50b4abedbf6196d (patch) | |
| tree | 2a53d5b45d3597375396d2d51cc06df184316169 /td/telegram/NotificationManager.cpp | |
| parent | 114cca19a42ed2dd95e47e0383164ff2e407a879 (diff) | |
Translate messages in autotranslated channels by their identifiers.
Diffstat (limited to 'td/telegram/NotificationManager.cpp')
| -rw-r--r-- | td/telegram/NotificationManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/td/telegram/NotificationManager.cpp b/td/telegram/NotificationManager.cpp index 74ce8a7b6..4218f7d28 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 = telegram_api::user::ACCESS_HASH_MASK | telegram_api::user::PHONE_MASK; + flags |= telegram_api::user::ACCESS_HASH_MASK | telegram_api::user::PHONE_MASK; } else { sender_access_hash = 0; } |
