mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-31 06:35:14 +00:00
Init webm player for sticker set thumbnails.
This commit is contained in:
@@ -14,7 +14,7 @@ class FileLoader;
|
||||
|
||||
namespace Media {
|
||||
namespace Clip {
|
||||
enum Notification : int;
|
||||
enum class Notification;
|
||||
class ReaderPointer;
|
||||
} // namespace Clip
|
||||
} // namespace Media
|
||||
|
@@ -49,7 +49,8 @@ StickersSetFlags ParseStickersSetFlags(const MTPDstickerSet &data) {
|
||||
return (data.is_archived() ? Flag::Archived : Flag())
|
||||
| (data.is_official() ? Flag::Official : Flag())
|
||||
| (data.is_masks() ? Flag::Masks : Flag())
|
||||
| (data.vinstalled_date() ? Flag::Installed : Flag());
|
||||
| (data.vinstalled_date() ? Flag::Installed : Flag())
|
||||
| (data.is_gifs() ? Flag::Webm : Flag());
|
||||
}
|
||||
|
||||
StickersSet::StickersSet(
|
||||
|
@@ -54,6 +54,7 @@ enum class StickersSetFlag {
|
||||
Featured = (1 << 5),
|
||||
Unread = (1 << 6),
|
||||
Special = (1 << 7),
|
||||
Webm = (1 << 8),
|
||||
};
|
||||
inline constexpr bool is_flag_type(StickersSetFlag) { return true; };
|
||||
using StickersSetFlags = base::flags<StickersSetFlag>;
|
||||
|
Reference in New Issue
Block a user