Skip to content

Commit aa3d3d8

Browse files
committed
Use append_file_ids.
1 parent 33109f3 commit aa3d3d8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎td/telegram/MessageContent.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12780,7 +12780,7 @@ vector<FileId> get_message_content_file_ids(const MessageContent *content, const
1278012780
const auto *photo = static_cast<const MessagePhoto *>(content);
1278112781
auto file_ids = photo_get_file_ids(photo->photo);
1278212782
if (photo->video_file_id.is_valid()) {
12783-
append(file_ids, Document(Document::Type::Video, photo->video_file_id).get_file_ids(td));
12783+
Document(Document::Type::Video, photo->video_file_id).append_file_ids(td, file_ids);
1278412784
}
1278512785
return file_ids;
1278612786
}

0 commit comments

Comments
 (0)