Compare commits
2 Commits
be261b5dcc
...
3f01f7ebbb
Author | SHA1 | Date | |
---|---|---|---|
|
3f01f7ebbb | ||
|
a6b7429866 |
@ -836,7 +836,7 @@ void AnimationsManager::send_update_saved_animations(bool from_database) {
|
||||
if (animation->animated_thumbnail.file_id.is_valid()) {
|
||||
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());
|
||||
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_,
|
||||
|
@ -15,7 +15,6 @@
|
||||
#include "td/utils/common.h"
|
||||
#include "td/utils/tl_helpers.h"
|
||||
|
||||
|
||||
namespace td {
|
||||
|
||||
template <class StorerT>
|
||||
|
@ -15,7 +15,6 @@
|
||||
#include "td/utils/common.h"
|
||||
#include "td/utils/tl_helpers.h"
|
||||
|
||||
|
||||
namespace td {
|
||||
|
||||
template <class StorerT>
|
||||
|
@ -3232,6 +3232,7 @@ void Td::dec_actor_refcnt() {
|
||||
reset_manager(sponsored_message_manager_, "SponsoredMessageManager");
|
||||
reset_manager(statistics_manager_, "StatisticsManager");
|
||||
reset_manager(stickers_manager_, "StickersManager");
|
||||
reset_manager(memory_manager_, "MemoryManager");
|
||||
reset_manager(story_manager_, "StoryManager");
|
||||
reset_manager(theme_manager_, "ThemeManager");
|
||||
reset_manager(top_dialog_manager_, "TopDialogManager");
|
||||
@ -3412,6 +3413,7 @@ void Td::clear() {
|
||||
reset_actor(ActorOwn<Actor>(std::move(sponsored_message_manager_actor_)));
|
||||
reset_actor(ActorOwn<Actor>(std::move(statistics_manager_actor_)));
|
||||
reset_actor(ActorOwn<Actor>(std::move(stickers_manager_actor_)));
|
||||
reset_actor(ActorOwn<Actor>(std::move(memory_manager_actor_)));
|
||||
reset_actor(ActorOwn<Actor>(std::move(story_manager_actor_)));
|
||||
reset_actor(ActorOwn<Actor>(std::move(theme_manager_actor_)));
|
||||
reset_actor(ActorOwn<Actor>(std::move(top_dialog_manager_actor_)));
|
||||
|
Loading…
Reference in New Issue
Block a user