Fix generated file parsing.

This commit is contained in:
levlam 2022-07-21 13:12:25 +03:00
parent 4ac8be8122
commit 3ffe770d57

View File

@ -224,9 +224,9 @@ FileId FileManager::parse_file(ParserT &parser) {
if (expected_size < 0) {
expected_size += static_cast<int64>(1) << 32;
}
int32 zero;
parse(zero, parser);
}
int32 zero;
parse(zero, parser);
DialogId owner_dialog_id;
if (parser.version() >= static_cast<int32>(Version::StoreFileOwnerId)) {
parse(owner_dialog_id, parser);