Fix misprint.
GitOrigin-RevId: 90bbeac5fa87b296b8f4e666fedb904d7a4ea6cb
This commit is contained in:
parent
ef9d8415f3
commit
3ecbe54242
@ -28375,7 +28375,7 @@ void MessagesManager::fix_new_dialog(Dialog *d, unique_ptr<Message> &&last_datab
|
||||
LOG(ERROR) << dialog_id << " has order " << d->order << " instead of saved to database order " << order;
|
||||
}
|
||||
|
||||
// must be after update_dialog_pos, because use d->order
|
||||
// must be after update_dialog_pos, because uses d->order
|
||||
if (need_get_history && !td_->auth_manager_->is_bot() && dialog_id != being_added_dialog_id_ &&
|
||||
have_input_peer(dialog_id, AccessRights::Read) && (d->order != DEFAULT_ORDER || is_dialog_sponsored(d))) {
|
||||
get_history_from_the_end(dialog_id, true, false, Auto());
|
||||
|
Loading…
Reference in New Issue
Block a user