Commit Graph

151 Commits

Author SHA1 Message Date
Andrea Cavalli
39856bc56f Merge remote-tracking branch 'td/master' 2022-02-05 01:12:29 +01:00
levlam
a972252a46 Support creation of WEBM sticker packs. 2022-01-25 16:56:10 +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
Andrea Cavalli
09b98f6b30 Merge remote-tracking branch 'td/master' 2022-01-04 00:04:21 +01:00
levlam
8085779cdc Update copyright year. 2022-01-01 03:35:39 +03:00
Andrea Cavalli
6f8bf35ab9 Merge remote-tracking branch 'td/master' 2021-12-13 01:59:01 +01:00
levlam
aa8a4979df Asynchronously save emoji keywords. 2021-12-12 23:50:05 +03:00
Andrea Cavalli
bcc6636f3a Merge remote-tracking branch 'td/master' 2021-12-07 22:05:52 +01: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
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
9b5bc5f4f3 Use hash in GetStickerSetQuery. 2021-11-19 13:56:12 +03:00
Andrea Cavalli
48e3660d2c Merge remote-tracking branch 'td/master' 2021-11-14 22:46:37 +01:00
levlam
6dd7c73765 Add source to store_sticker_set. 2021-11-14 10:19:03 +03:00
levlam
b731414d42 Init some fields just in case. 2021-11-11 17:39:09 +03:00
levlam
6ace4fdf36 Update layer to 135. 2021-11-09 19:07:55 +03:00
Andrea Cavalli
9c9772868b Merge remote-tracking branch 'td/master' 2021-11-05 16:11:03 +01:00
Andrea Cavalli
778ca70dd5 Merge remote-tracking branch 'td/master' 2021-11-01 20:12:43 +01:00
levlam
5642947198 Simplify send_update_recent_stickers usage. 2021-11-01 01:35:39 +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
Andrea Cavalli
f11254bdcb Merge remote-tracking branch 'td/master' 2021-10-21 17:09:27 +02:00
levlam
9f44816a62 Minor improvements. 2021-10-21 12:51:16 +03:00
Andrea Cavalli
98244d1346 Merge remote-tracking branch 'td/master' 2021-10-20 02:21:14 +02:00
levlam
db7aa28bdf A lot more minor improvements. 2021-10-19 18:11:16 +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
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
Andrea Cavalli
45e855f89d Remove most memory related features
I can't maintain anymore this amount of features while keeping the library constantly updated and without bugs. Every merge was taking me multiple hours of revisioning the code. I give up.
From this commit onwards TDLight will only have small useful customizations that are easy to maintain.
Now the people relying on the OptimizeMemory method can restart the session every N hours to free up the memory.
The real way to keep a low memory usage must involve a huge refactoring to allow the unloading of the caches into the sqlite database, similar to what's already happening with messages data. Only Levlam has the ability to implement this without needing to merge the upstream everytime.
2021-09-25 22:11:42 +02:00
Andrea Cavalli
897d4af16c Merge remote-tracking branch 'td/master' 2021-09-25 19:24:57 +02:00
levlam
ef1bfc7c3e Improve field names. 2021-09-24 16:53:42 +03:00
levlam
fbd2309b37 Don't remove emoji modifiers in chat action emojis. 2021-09-23 17:16:59 +03:00
levlam
53f9b0438e Optimize remove_emoji_modifiers usages. 2021-09-20 13:45:49 +03:00
levlam
22cd853249 Delay responses to clickAnimatedEmojiMessage. 2021-09-19 20:43:47 +03:00
levlam
3883ffcc75 Check emoji in incoming chatActionEnjoyingAnimations. 2021-09-19 01:52:56 +03:00
levlam
db18baa503 Unify include order. 2021-09-19 00:47:05 +03:00