Never allow animated stickers outside of sticker sets.
GitOrigin-RevId: 7e86904956e1bdfc7b423fdfef5f212199caeb85
This commit is contained in:
parent
05b279bb13
commit
c204fd6256
@ -1939,7 +1939,9 @@ void StickersManager::create_sticker(FileId file_id, PhotoSize thumbnail, Dimens
|
||||
}
|
||||
}
|
||||
}
|
||||
s->is_animated = is_animated;
|
||||
if (s->set_id.is_valid()) {
|
||||
s->is_animated = is_animated;
|
||||
}
|
||||
on_get_sticker(std::move(s), sticker != nullptr);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user