Commit Graph

72 Commits

Author SHA1 Message Date
levlam
3b83d77b2d Return parse error if invalid sticker set identifier is found in the database. 2023-03-08 13:45:44 +03:00
levlam
6ba394fc41 Add class StickerMaskPosition. 2023-02-09 20:15:21 +03:00
levlam
cf1984844b Update copyright year. 2023-01-01 00:28:08 +03:00
levlam
0d4c918fea Reload emoji sticker sets once. 2022-12-21 15:18:42 +03:00
levlam
9cc023111d Add sticker.has_text_color. 2022-12-09 13:39:29 +03:00
levlam
ee04923ce1 Add lazy initialization for keyword_stickers_map_. 2022-09-27 16:16:36 +03:00
levlam
0c21d0d596 Save sticker keywords. 2022-09-27 00:20:13 +03:00
levlam
7b6d0ea6b4 Load top reactions from server. 2022-09-12 17:28:58 +03:00
levlam
c92f741a83 Add get_sticker_type function. 2022-09-02 18:18:18 +03:00
levlam
4e6046b9ec Treat all emoji reactions as non-premium. 2022-08-24 23:31:15 +03:00
levlam
cee055350a Fix premium_sticker_positions_ initialization. 2022-08-08 21:13:22 +03:00
levlam
5304ac7ccf Optimize installed premium stickers traversal in getPremiumStickers. 2022-08-07 20:35:13 +03:00
levlam
36d7adef38 Unify field naming in private StickersManager classes. 2022-08-07 19:47:50 +03:00
levlam
bb5d8c0c8d Use WaitFreeHashMap in StickersManager. 2022-08-03 22:42:52 +03:00
levlam
b8d97997a6 Remove expected error logging. 2022-08-02 21:41:18 +03:00
levlam
f20f015caa Save custom emoji to database. 2022-07-25 21:18:43 +03:00
levlam
ba3f24ed8d Rename stickerTypeEmoji to stickerTypeCustomEmoji. 2022-07-19 14:51:29 +03:00
levlam
4442293acf Support trending emoji sticker sets. 2022-07-17 22:39:22 +03:00
levlam
32c7bd8bcd Support thumbnail_document_id. 2022-07-16 17:22:30 +03:00
levlam
3bfb3cdbb1 Add explicit flag sticker.is_premium. 2022-07-15 13:37:46 +03:00
levlam
5bdc4e207b Add stickerTypeEmoji. 2022-07-14 16:42:27 +03:00
levlam
c34f5d063b Use StickerType instead of is_masks everywhere. 2022-07-14 16:17:19 +03:00
levlam
b447c32fe9 Add class StickerType. 2022-07-14 15:02:55 +03:00
levlam
447cfbfb1d Support premium stickers. 2022-04-26 16:01:29 +03:00
levlam
f8077965ad Support premium reactions. 2022-04-26 14:40:06 +03:00
levlam
de5f047dba Remove all emoji modifiers, including modifiers in the middle. 2022-05-12 18:02:27 +03:00
levlam
88b9f35b91 Add PhotoSize.h. 2022-04-10 01:15:49 +03:00
levlam
dc198f537c Ignore stickerPack with an empty emoticon. 2022-02-11 17:46:57 +03:00
levlam
b1b945e239 Minor fixes. 2022-01-31 15:56:44 +03:00
levlam
d6bb83dc0e Support WEBM stickers. 2022-01-25 14:58:04 +03:00
levlam
6001485409 Save reactions between restarts. 2022-01-24 16:43:38 +03:00
levlam
be2678ce94 Add enum StickerFormat. 2022-01-18 19:20:43 +03:00
levlam
8085779cdc Update copyright year. 2022-01-01 03:35:39 +03:00
levlam
6dd7c73765 Add source to store_sticker_set. 2021-11-14 10:19:03 +03:00
levlam
db7aa28bdf A lot more minor improvements. 2021-10-19 18:11:16 +03:00
levlam
b6bde1e4c5 Move remove_emoji_modifiers to emoji.h. 2021-09-21 06:32:34 +03:00
levlam
53f9b0438e Optimize remove_emoji_modifiers usages. 2021-09-20 13:45:49 +03:00
levlam
c03621d72c Add CHECK debug. 2021-09-13 16:03:21 +03:00
levlam
cf7c14fb59 Remove unneeded document.is_changed. 2021-08-26 18:50:28 +03:00
levlam
ed7a7e5eaf Check UTF-8 correctness of strings before adding them to Hints. 2021-06-17 23:29:13 +03:00
levlam
52c1da0a70 Update copyright year. 2021-01-01 15:57:46 +03:00
levlam
d22dabfdaf Update layer to 121. 2020-11-09 23:41:23 +03:00
levlam
0efc6ee617 Reload all sticker sets once to drop legacy photo locations.
GitOrigin-RevId: 2ab5e1ba035ea3946a733a06e44cc1f7b327cd36
2020-10-31 01:32:18 +03:00
levlam
3175ed4c0a Minor fixes.
GitOrigin-RevId: e10945b585d067da0b6a532b9d9210aade7673d4
2020-04-30 22:21:42 +03:00
levlam
5ee6a4ea6b Ignore invalid stickers stored in the database.
GitOrigin-RevId: ad7a1a976f37b4864a990538e568d9c4a4b4e555
2020-04-21 11:07:50 +03:00
levlam
1310aa7f2c Improve logging.
GitOrigin-RevId: d1c9c742981fa37ebe691aa569e8b6a9fc50d3c1
2020-03-24 01:36:43 +03:00
levlam
590e8efcb4 Improve logging.
GitOrigin-RevId: 1cef0e92ceb9cec005ebb693303d8fd808338771
2020-01-24 01:08:21 +03:00
levlam
80c35676a2 Update copyright year.
GitOrigin-RevId: 09afb551b6e637dc69739fa735b0051a38b9e14c
2020-01-01 04:23:48 +03:00
levlam
9788681015 Fix CE.
GitOrigin-RevId: 1e6d1c3dc9a275e7f773e0c1fdf3be82864c63df
2019-12-23 02:46:52 +03:00
levlam
408a456589 Add strongly typed StickerSetId.
GitOrigin-RevId: 518121f89e3a4c95ab5a2095a9bc2217090911de
2019-09-18 06:55:43 +03:00