Commit Graph

336 Commits

Author SHA1 Message Date
levlam
2b1314295d Check and fix half of FlatHashMap usages. 2022-02-10 00:59:52 +03:00
levlam
bcc2adeb47 Fix includes and formatting. 2022-02-08 00:04:34 +03:00
Arseny Smirnov
86bceb2972 td: replace most of std::unordered_map usages to td::FlatHashMap 2022-02-07 21:21:31 +01:00
levlam
f3bb075f62 Use InvokeAfter for all queries changing sticker sets. 2022-02-06 00:16:16 +03:00
levlam
d5d6e520e0 Fix creation of WEBM documents. 2022-01-31 20:41:11 +03:00
levlam
e503195e0e Upload WEBM stickers as documents. 2022-01-31 20:22:07 +03:00
levlam
e1bd34cda8 Update scheme. 2022-01-29 01:53:50 +03:00
levlam
79f1890613 Use td_api::StickerType instead of td_api::StickerFormat. 2022-01-26 17:53:38 +03:00
levlam
eaf859409e Check MIME-type of received stickers. 2022-01-26 17:30:57 +03:00
levlam
262d63564d Fix misprint. 2022-01-26 17:25:55 +03:00
levlam
a972252a46 Support creation of WEBM sticker packs. 2022-01-25 16:56:10 +03:00
levlam
e2d1824edc Add stickerFormatWebpMask. 2022-01-25 15:27:06 +03:00
levlam
d6bb83dc0e Support WEBM stickers. 2022-01-25 14:58:04 +03:00
levlam
0d2b1c2072 Update layer to 138. 2022-01-25 12:36:30 +03:00
levlam
6001485409 Save reactions between restarts. 2022-01-24 16:43:38 +03:00
levlam
facb8f754a Move list of active reactions to MessagesManager. 2022-01-19 18:59:48 +03:00
levlam
4e657b73ab Return all reactions as available in private chats. 2022-01-19 18:10:16 +03:00
levlam
99586edf26 Add updateReaction. 2022-01-19 14:14:21 +03:00
levlam
4e172fc5c8 Add expected_format to on_get_sticker_document. 2022-01-18 19:28:32 +03:00
levlam
be2678ce94 Add enum StickerFormat. 2022-01-18 19:20:43 +03:00
levlam
3becacf304 Add chat.available_reactions and updateChatAvailableReactions. 2022-01-04 16:33:57 +03:00
levlam
8085779cdc Update copyright year. 2022-01-01 03:35:39 +03:00
levlam
bbb4b68699 Fix MSVC 2015 warning. 2021-12-28 02:01:20 +03:00
levlam
eff87996a5 Match animated emoji without selectors. 2021-12-22 13:40:20 +03:00
levlam
d3780284fc Remove wrong check. 2021-12-20 15:15:34 +03:00
levlam
b060536ae3 Return Result<...> from get_input_user. 2021-12-16 22:46:03 +03:00
levlam
aa8a4979df Asynchronously save emoji keywords. 2021-12-12 23:50:05 +03:00
levlam
34ba9b21f3 Don't try to load already loaded special sticker set. 2021-12-08 16:54:45 +03:00
levlam
39a8621182 Load special sticker sets from database before reloading them from server. 2021-12-01 22:05:40 +03:00
levlam
3b1ec88067 Reload special sticker sets only once simultaneously. 2021-12-01 20:30:02 +03:00
levlam
d5a7dc2638 Remove legacy animated_emoji_sticker_set_name option. 2021-12-01 20:03:52 +03:00
levlam
37d5a59422 Pass SpecialStickerSetType to add_special_sticker_set. 2021-12-01 19:59:45 +03:00
levlam
6143bb1b94 Replace color_replacements with fitzpatrick_type as needed by the latest rlottie version. 2021-11-23 15:01:12 +03:00
levlam
a366d9b40d Support hash in ReloadSpecialStickerSetQuery. 2021-11-19 14:07:05 +03:00
levlam
9b5bc5f4f3 Use hash in GetStickerSetQuery. 2021-11-19 13:56:12 +03:00
levlam
6ace4fdf36 Update layer to 135. 2021-11-09 19:07:55 +03:00
levlam
340e0f0b85 Fix has/have spelling. 2021-12-02 14:15:37 +03:00
levlam
6dd7c73765 Add source to store_sticker_set. 2021-11-14 10:19:03 +03:00
levlam
ed56a75b8a Check sticker pointer before use. 2021-11-14 09:05:33 +03:00
levlam
60907279fd Add missing checks for close_flag in Timeout callbacks. 2021-11-13 22:37:41 +03:00
levlam
5a02af8c72 Use const reference if range-based for if appropriate. 2021-11-10 20:39:35 +03:00
levlam
6de2763fac Remove duplicate logging before net queries. 2021-11-08 16:41:16 +03:00
levlam
616b0e6d6f Improve ResultHandler/NetActor td_ private field name. 2021-11-08 15:20:38 +03:00
levlam
5578ecc6b8 Remove NetQuery id from ResultHandler and NetActor. 2021-11-08 14:19:57 +03:00
levlam
ca7947cf44 Minor improvements. 2021-11-04 12:46:08 +03:00
levlam
eb2c0c9315 Check for is_bot just in case. 2021-11-04 11:41:07 +03:00
levlam
2ac0bea193 Disable animated emoji clicks if animated emoji are disabled. 2021-11-01 23:19:22 +03:00
levlam
0c1e268706 Don't generate MASK for parsed True fields. 2021-11-01 21:53:23 +03:00
levlam
6f34c5c6a1 Make PhotoSizeSource constructors named. 2021-10-27 16:52:22 +03:00
levlam
22a859045f Fix getAnimatedEmoji. 2021-10-27 15:19:07 +03:00