Fix warning.

GitOrigin-RevId: 782940c71a1dc325029b516073d55d1d6de7f57b
This commit is contained in:
levlam 2019-04-26 06:09:26 +03:00
parent 2be7ec9a34
commit 5dc12f9c19

View File

@ -3872,7 +3872,7 @@ int32 StickersManager::get_recent_stickers_hash(const vector<FileId> &sticker_id
FileSourceId StickersManager::get_recent_stickers_file_source_id(int is_attached) {
if (!recent_stickers_file_source_id_[is_attached].is_valid()) {
recent_stickers_file_source_id_[is_attached] =
td_->file_reference_manager_->create_recent_stickers_file_source(is_attached);
td_->file_reference_manager_->create_recent_stickers_file_source(is_attached != 0);
}
return recent_stickers_file_source_id_[is_attached];
}