Commit Graph

41 Commits

Author SHA1 Message Date
levlam
d963044eb9 Update copyright year. 2024-01-01 03:07:21 +03:00
levlam
54bd830f49 Add td_api::getChatBoostLevelFeatures. 2023-12-26 20:20:41 +03:00
levlam
88b2781685 Add min_chat_boost_level to accentColor/profileAccentColor. 2023-12-21 18:48:15 +03:00
levlam
1604ee7b1d Improve includes. 2023-11-30 18:13:23 +03:00
levlam
45ca900759 Add user.profile_accent_color_id/profile_background_custom_emoji_id. 2023-11-28 15:45:39 +03:00
levlam
16e3eb2a8a Check color validness. 2023-11-27 18:40:02 +03:00
levlam
60eb989657 Add td_api::updateProfileAccentColors. 2023-11-27 18:08:45 +03:00
levlam
fbcd4c7198 Use help.getPeerColors to update accent colors. 2023-11-27 16:35:27 +03:00
levlam
d08796fade Reload chat themes with other data. 2023-11-27 13:34:14 +03:00
levlam
1522779b97 Return unchecked accent color id for bots. 2023-11-07 03:24:57 +03:00
levlam
d305476cfe Load only accent colors in ThemeManager constructor. 2023-11-07 00:17:49 +03:00
levlam
43f1d6aacb Early init ThemeManager. 2023-11-03 16:02:28 +03:00
levlam
2a9c7555be Add accentColor.built_in_accent_color_id. 2023-11-02 23:37:42 +03:00
levlam
adc81fcea6 Fallback to default accent color for the chat. 2023-11-02 22:32:59 +03:00
levlam
00a6167952 Never send unknown accent color identifiers to the app. 2023-11-02 22:11:54 +03:00
levlam
3f8362a4bb Save accent colors to binlog. 2023-11-02 21:52:59 +03:00
levlam
4489ef54aa Add td_api::updateAccentColors. 2023-11-02 21:30:38 +03:00
levlam
08888d5ead Don't forget old colors. 2023-11-02 14:25:40 +03:00
levlam
ab5219f546 Parse accent colors from appConfig. 2023-11-02 14:21:55 +03:00
levlam
84676f04a6 Add more colors to themeParameters. 2023-10-02 22:31:34 +03:00
levlam
bcf9ff7d43 Explicitly include telegram_api.h in cpp files. 2023-07-01 14:53:04 +03:00
levlam
64b2cb4e12 Add class BackgroundInfo. 2023-04-10 16:32:59 +03:00
levlam
cf1984844b Update copyright year. 2023-01-01 00:28:08 +03:00
levlam
ee28a37906 Minor improvements. 2022-10-12 15:59:58 +03:00
levlam
9c7bdb2810 Fix payment form and web view color value sent to the server. 2022-08-10 19:32:07 +03:00
levlam
71573fd320 Add themeParameters.secondary_background_color. 2022-06-20 16:15:09 +03:00
levlam
c088dd9366 Add synchronous method td_api::getThemeParametersJsonString. 2022-03-29 20:22:38 +03:00
levlam
8085779cdc Update copyright year. 2022-01-01 03:35:39 +03:00
levlam
5578ecc6b8 Remove NetQuery id from ResultHandler and NetActor. 2021-11-08 14:19:57 +03:00
levlam
23775700ac Update layer to 134. 2021-10-08 13:45:10 +03:00
levlam
9f44816a62 Minor improvements. 2021-10-21 12:51:16 +03:00
levlam
54277497f7 Save chat themes to binlog. 2021-09-24 17:17:32 +03:00
levlam
153fb213c0 Add accent color for outgoing messages in theme settings. 2021-09-07 22:04:44 +03:00
levlam
075d004b9f Replace getChatThemes with updateChatThemes. 2021-09-13 15:55:01 +03:00
levlam
a838fff28f Add operator== for ThemeSettings. 2021-09-12 22:39:52 +03:00
levlam
196128b2f1 Update chat theme cache after receiving telegram_api::updateTheme. 2021-09-12 22:29:40 +03:00
levlam
b8df633f34 Minor include improvements. 2021-09-08 16:50:03 +03:00
levlam
192915c0bf Reload chat themes at most once an hour. 2021-09-07 13:30:51 +03:00
levlam
d2f9c264ca Use promise instead of RequestActor in td_api::getChatThemes. 2021-09-03 08:59:34 +03:00
levlam
6beaf41231 Minor improvements. 2021-09-01 20:31:39 +03:00
levlam
83e55b6b56 Add td_api::getChatThemes. 2021-08-27 15:51:50 +03:00