Commit Graph

299 Commits

Author SHA1 Message Date
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
levlam
6893c49be7 Add td_api::getAnimatedEmoji. 2021-10-26 17:59:15 +03:00
levlam
1dd054d896 Add const get_animated_emoji_object. 2021-10-26 16:50:18 +03:00
levlam
9addfaf6fe Add class td_api::animatedEmoji. 2021-10-26 16:15:01 +03:00
levlam
bcf0316432 Zoom sticker's outline. 2021-10-14 01:06:12 +03:00
levlam
cbca467991 Adjust dimensions of animated emojis. 2021-10-14 00:18:44 +03:00
levlam
f70498898b Add fileSourceAppConfig. 2021-10-08 13:41:22 +03:00
levlam
c3d898f1e6 Add ConfigManager::reget_app_config. 2021-10-06 01:17:10 +03:00
levlam
6ecba8cb5d Download emoji sounds from main DC. 2021-10-06 00:55:22 +03:00
levlam
038abf5466 Add sound to messageAnimatedEmoji. 2021-10-05 23:20:49 +03:00
levlam
9fb1f1438e Add color replacements to messageAnimatedEmoji. 2021-10-05 18:42:05 +03:00
levlam
aae781295c Improve updating animated emoji stickers. 2021-10-05 18:06:05 +03:00
levlam
eb20f82730 Add disable_animated_emoji option. 2021-10-05 17:17:29 +03:00
levlam
ffe03ecb10 Add messageAnimatedEmoji. 2021-10-05 16:12:04 +03:00
levlam
77158cd7a5 Register emoji messages. 2021-10-04 16:08:51 +03:00
levlam
5642947198 Simplify send_update_recent_stickers usage. 2021-11-01 01:35:39 +03:00
levlam
c66cf3dec6 Use range-based for on arrays/strings if possible. 2021-11-01 01:24:51 +03:00
levlam
9f44816a62 Minor improvements. 2021-10-21 12:51:16 +03:00
levlam
1e49f6dc13 Use auto as variable type if it is initialized with a cast. 2021-10-20 01:27:02 +03:00
levlam
db7aa28bdf A lot more minor improvements. 2021-10-19 18:11:16 +03:00
levlam
9b7957c9c6 Minor warning fixes. 2021-10-17 13:07:20 +03:00
levlam
dbd3b22f31 Remove wrong CHECK. 2021-10-08 12:18:01 +03:00
levlam
328c5b57d2 Add Global::request_aborted_error. 2021-10-07 16:36:21 +03:00
levlam
3b794126d8 Avoid G usage in lambda promises. 2021-10-07 15:28:52 +03:00
levlam
b34cfef4d0 Replace begin_transaction with begin_read_transaction and begin_write_transaction. 2021-10-07 13:18:00 +03:00
levlam
4b41d620c5 Use send_closure instead of raw call. 2021-10-06 23:33:18 +03:00
levlam
cd9a89fd7d Send updateAnimatedEmojiMessageClicked in non-opened chats. 2021-10-01 20:05:11 +03:00
levlam
cdb06da112 Add "; pass null" annotations for expected to be null request parameters. 2021-09-28 17:31:00 +03:00
levlam
493a9e5457 Erase more keys from binlog after database is deleted. 2021-09-26 21:15:31 +03:00
levlam
ef1bfc7c3e Improve field names. 2021-09-24 16:53:42 +03:00
levlam
a1d1d2160b Simplify load_special_sticker_set usage. 2021-09-24 13:08:32 +03:00
levlam
95d60959b1 Remove redundant checks for is_bot. 2021-09-24 11:07:12 +03:00
levlam
d6f3d9f08a Use error code 400 instead of small error codes. 2021-09-24 10:59:51 +03:00
levlam
fbd2309b37 Don't remove emoji modifiers in chat action emojis. 2021-09-23 17:16:59 +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
0f2735b6a1 Ignore too often animated emoji clicks. 2021-09-19 20:52:46 +03:00
levlam
22cd853249 Delay responses to clickAnimatedEmojiMessage. 2021-09-19 20:43:47 +03:00