diff options
Diffstat (limited to 'td/telegram/files/FileManager.cpp')
| -rw-r--r-- | td/telegram/files/FileManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/td/telegram/files/FileManager.cpp b/td/telegram/files/FileManager.cpp index 31220c612..864fb4da4 100644 --- a/td/telegram/files/FileManager.cpp +++ b/td/telegram/files/FileManager.cpp @@ -1777,7 +1777,7 @@ Status FileManager::merge(FileId x_file_id, FileId y_file_id, bool no_sync) { bool send_updates_flag = false; auto other_pmc_id = other_node->pmc_id_; - node->file_ids_.insert(node->file_ids_.end(), other_node->file_ids_.begin(), other_node->file_ids_.end()); + append(node->file_ids_, other_node->file_ids_); for (auto file_id : other_node->file_ids_) { auto file_id_info = get_file_id_info(file_id); |
