Commit Graph

483 Commits

Author SHA1 Message Date
levlam
6319862890 Improve some emplace_back/push_back usage. 2022-10-27 12:53:53 +03:00
levlam
de5379f00b Add more checks for close_status. 2022-10-13 14:51:00 +03:00
levlam
aa6ed42734 Add class CustomEmojiId. 2022-10-03 01:26:32 +03:00
levlam
39d2ac80b0 Remove unused ActorId methods. 2022-10-01 11:29:09 +03:00
levlam
d3a2df8858 Return stickers from getCustomEmojiReactionAnimations. 2022-09-30 15:55:46 +03:00
levlam
e39bd45086 Support search by keywords in getStickers. 2022-09-27 20:52:47 +03:00
levlam
4e78b4b65f Add helpers for sticker search. 2022-09-27 18:29:10 +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
7ccaaf3b70 Update layer to 147. 2022-09-26 20:00:45 +03:00
levlam
a3bb5913a7 Improve clicked animated emoji zoom. 2022-09-26 16:13:57 +03:00
levlam
35058bb6a7 Add animatedEmoji.sticker_width/sticker_height. 2022-09-25 23:40:42 +03:00
levlam
12a8a5dbda Fix error handling in ReadFeaturedStickerSetsQuery. 2022-09-18 21:57:13 +03:00
levlam
30b961aebf Sort reactions returned in getMessageAvailableReactions. 2022-09-13 19:19:35 +03:00
levlam
38fbd00e99 Add and use get_reactions_hash. 2022-09-12 21:55:30 +03:00
levlam
8e5dccbdb5 Fix updating of active reactions in MessagesManager. 2022-09-12 21:39:23 +03:00
levlam
999326d56a Locally add reaction to recent. 2022-09-12 20:17:14 +03:00
levlam
f85b79d9bc Add td_api::clearRecentReactions. 2022-09-12 19:37:45 +03:00
levlam
ece581b797 Load recent reactions. 2022-09-12 19:14:02 +03:00
levlam
7b6d0ea6b4 Load top reactions from server. 2022-09-12 17:28:58 +03:00
levlam
de1ed3275f Add td_api::getCustomEmojiReactionAnimations. 2022-09-12 15:44:37 +03:00
levlam
a33eb5233c Add td_api::getEmojiReaction. 2022-09-12 15:03:35 +03:00
levlam
d29d3674ba Replace updateReactions with updateActiveEmojiReactions. 2022-09-12 01:35:47 +03:00
levlam
ce9175a00b Always use "must be non-empty". 2022-09-10 22:48:34 +03:00
levlam
c6d5bbb151 Remove class AvailableReaction. 2022-09-08 17:45:19 +03:00
levlam
14a9fda4ef Rename premiumStatus to emojiStatus. 2022-09-07 10:25:21 +03:00
levlam
51ea826b6c Synchronously load custom emoji from database if they are to be shown as an animated emoji. 2022-09-05 21:04:08 +03:00
levlam
8d6a83433f Use checks to catch wrong custom_emoji_to_sticker_id_ cache. 2022-09-05 20:26:10 +03:00
levlam
c5040d9fcd Locally move sticker set to top. 2022-09-04 21:35:11 +03:00
levlam
8e5f33e699 Process updateMoveStickerSetToTop update. 2022-09-02 18:35:57 +03:00
levlam
03af40bc08 Don't add themed premium statuses to recent. 2022-09-02 15:39:07 +03:00
levlam
2eba57276a Add td_api::getThemedPremiumStatuses. 2022-09-02 15:02:37 +03:00
levlam
899ceecab1 Support new special sticker set types. 2022-09-02 13:59:49 +03:00
levlam
4e6046b9ec Treat all emoji reactions as non-premium. 2022-08-24 23:31:15 +03:00
levlam
663389f19d Support improved updateStickerSets. 2022-08-23 18:24:21 +03:00
levlam
96fc91e239 Disable custom animated emoji for bots. 2022-08-22 09:20:37 +03:00
levlam
092499a7c6 Use WaitFreeHashSet where appropriate. 2022-08-21 00:20:57 +03:00
levlam
96cca84a60 Remove source from next_utf8_unsafe. 2022-08-19 16:37:44 +03:00
levlam
04b98aa385 Use OptionManager directly if possible. 2022-08-18 17:00:18 +03:00
levlam
0225f0cab7 Ensure that option values are fetched on launch. 2022-08-18 00:37:19 +03:00
levlam
9fddbf4ee8 Remove redundant parameters. 2022-08-17 21:40:03 +03:00
levlam
3318ffdb20 Proxy all option-related requests through G. 2022-08-17 16:11:13 +03:00
levlam
9a469eef31 Minor fixes. 2022-08-12 18:39:36 +03:00
levlam
4754f36808 Fix warning. 2022-08-10 18:38:30 +03:00
levlam
9f520f7db2 Asynchronously load reactions on start up. 2022-08-10 15:39:33 +03:00
levlam
f342b65500 Check for close status as early as possible. 2022-08-10 14:04:36 +03:00
levlam
12d852abc5 Check for close_flag as early as possible. 2022-08-10 13:57:41 +03:00
levlam
cee055350a Fix premium_sticker_positions_ initialization. 2022-08-08 21:13:22 +03:00
levlam
594aa2ff6d Use request promise in setStickerSetThumbnail. 2022-08-08 17:31:27 +03:00
levlam
69b1cc7967 Use request promise in createNewStickerSet. 2022-08-08 17:24:01 +03:00