Don't mark background as inited for channels.

This commit is contained in:
levlam 2023-12-21 19:10:05 +03:00
parent fabcce43c6
commit 8e85ef9e40

View File

@ -36962,7 +36962,6 @@ MessagesManager::Dialog *MessagesManager::add_new_dialog(unique_ptr<Dialog> &&di
d->last_read_outbox_message_id = MessageId::max(); d->last_read_outbox_message_id = MessageId::max();
d->is_last_read_outbox_message_id_inited = true; d->is_last_read_outbox_message_id_inited = true;
} }
d->is_background_inited = true;
auto pts = load_channel_pts(dialog_id); auto pts = load_channel_pts(dialog_id);
if (pts > 0) { if (pts > 0) {