Skip to content

Commit 51f71d7

Browse files
committed
Fix set of bot_active_users.
1 parent 0b2f4c6 commit 51f71d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

td/telegram/UserManager.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3183,7 +3183,7 @@ void UserManager::on_get_user(telegram_api::object_ptr<telegram_api::User> &&use
31833183
if (bot_active_users != u->bot_active_users) {
31843184
bool is_me = user_id == get_my_id();
31853185
if (!is_me || Time::now() > next_set_my_active_users_) {
3186-
bot_active_users = u->bot_active_users;
3186+
u->bot_active_users = bot_active_users;
31873187
u->is_changed = true;
31883188

31893189
if (is_me) {

0 commit comments

Comments
 (0)