Do not add animations with stickers to saved animations automatically.
GitOrigin-RevId: c3220224c091ce59fadc519634d6a73933ed3a32
This commit is contained in:
parent
e14601e878
commit
8e084a5b43
@ -729,6 +729,12 @@ void AnimationsManager::send_save_gif_query(FileId animation_id, bool unsave, Pr
|
||||
}
|
||||
|
||||
void AnimationsManager::add_saved_animation_by_id(FileId animation_id) {
|
||||
auto animation = get_animation(animation_id);
|
||||
CHECK(animation != nullptr);
|
||||
if (animation->has_stickers) {
|
||||
return;
|
||||
}
|
||||
|
||||
// TODO log event
|
||||
add_saved_animation_impl(animation_id, false, Auto());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user