Code cleanup
This commit is contained in:
parent
88c26a55f8
commit
608b0208af
@ -836,7 +836,7 @@ void AnimationsManager::send_update_saved_animations(bool from_database) {
|
|||||||
if (animation->animated_thumbnail.file_id.is_valid()) {
|
if (animation->animated_thumbnail.file_id.is_valid()) {
|
||||||
new_saved_animation_file_ids.push_back(animation->animated_thumbnail.file_id);
|
new_saved_animation_file_ids.push_back(animation->animated_thumbnail.file_id);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
std::sort(new_saved_animation_file_ids.begin(), new_saved_animation_file_ids.end());
|
std::sort(new_saved_animation_file_ids.begin(), new_saved_animation_file_ids.end());
|
||||||
if (new_saved_animation_file_ids != saved_animation_file_ids_) {
|
if (new_saved_animation_file_ids != saved_animation_file_ids_) {
|
||||||
td_->file_manager_->change_files_source(get_saved_animations_file_source_id(), saved_animation_file_ids_,
|
td_->file_manager_->change_files_source(get_saved_animations_file_source_id(), saved_animation_file_ids_,
|
||||||
|
@ -15,7 +15,6 @@
|
|||||||
#include "td/utils/common.h"
|
#include "td/utils/common.h"
|
||||||
#include "td/utils/tl_helpers.h"
|
#include "td/utils/tl_helpers.h"
|
||||||
|
|
||||||
|
|
||||||
namespace td {
|
namespace td {
|
||||||
|
|
||||||
template <class StorerT>
|
template <class StorerT>
|
||||||
|
@ -15,7 +15,6 @@
|
|||||||
#include "td/utils/common.h"
|
#include "td/utils/common.h"
|
||||||
#include "td/utils/tl_helpers.h"
|
#include "td/utils/tl_helpers.h"
|
||||||
|
|
||||||
|
|
||||||
namespace td {
|
namespace td {
|
||||||
|
|
||||||
template <class StorerT>
|
template <class StorerT>
|
||||||
|
Loading…
Reference in New Issue
Block a user