Add ContactsManager::get_replies_bot_user_id.

GitOrigin-RevId: 17aa32508783894088c05e411434cad96e1178bd
This commit is contained in:
levlam 2020-09-24 01:28:04 +03:00
parent a1a04c3a0f
commit 5c0d2eb050
2 changed files with 6 additions and 0 deletions

View File

@ -4401,6 +4401,10 @@ UserId ContactsManager::get_service_notifications_user_id() {
return user_id;
}
UserId ContactsManager::get_replies_bot_user_id() {
return UserId(G()->is_test_dc() ? 708513 : 1271266957);
}
void ContactsManager::check_dialog_username(DialogId dialog_id, const string &username,
Promise<CheckDialogUsernameResult> &&promise) {
if (dialog_id != DialogId() && !dialog_id.is_valid()) {

View File

@ -261,6 +261,8 @@ class ContactsManager : public Actor {
UserId get_service_notifications_user_id();
static UserId get_replies_bot_user_id();
void on_update_online_status_privacy();
void on_update_phone_number_privacy();