Don't set have_next to true if all next messages were deleted.

This commit is contained in:
levlam 2021-07-30 17:50:28 +03:00
parent 93ac629a74
commit 5171d793d0

View File

@ -9386,7 +9386,9 @@ void MessagesManager::on_get_history(DialogId dialog_id, MessageId from_message_
}
}
have_next = true;
if (!message_ids.empty()) {
have_next = true;
}
}
}