Skip to content

Commit

Permalink
Delete file bugfix
Browse files Browse the repository at this point in the history
GitOrigin-RevId: 642e053e52057945d872cc22b95d54bc47cf5dc5
  • Loading branch information
arseny30 committed Mar 16, 2018
1 parent 43fc3a2 commit 284895e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions td/telegram/files/FileManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1169,6 +1169,7 @@ void FileManager::clear_from_pmc(FileNodePtr node) {
data.generate_ = std::make_unique<FullGenerateFileLocation>(*node->generate_);
}
file_db_->clear_file_data(node->pmc_id_, data);
node->pmc_id_ = 0;
}

void FileManager::flush_to_pmc(FileNodePtr node, bool new_remote, bool new_local, bool new_generate) {
Expand Down

0 comments on commit 284895e

Please sign in to comment.