Commit graph

2592 commits

Author SHA1 Message Date
John Preston
d2246337a2 Fix crash in ChannelsLimitBox.
Fixes https://bugs.telegram.org/c/35214

Deleting `placeholder` in content->heightValue() resulted in `delete`
sometimes being called deep inside the layer->show() which already had
a reference to that `placeholder` saved and was accessed after -> crash.
2024-01-04 17:22:05 +04:00
23rd
bdf67645bb Improved phrase of terms in gifts box from settings. 2024-01-02 13:40:21 +03:00
John Preston
0b5f05c7d4 Skip service accounts in gift premiums box. 2024-01-02 13:52:55 +04:00
Eric Kotato
7638f4cc3d Fix warning C4805 2024-01-02 13:27:37 +04:00
John Preston
a4d7309209 Support tg://premium_multigift links. 2024-01-02 00:10:52 +04:00
Ilya Fedin
e6b9a07163 Instantiate QRegularExpression instances statically 2023-12-31 22:03:57 +00:00
Ilya Fedin
00e785a3af Remove unused variables 2023-12-31 22:03:57 +00:00
John Preston
9392550c01 Support pinned saved sublists. 2023-12-31 19:42:24 +04:00
23rd
c2712b0104 Removed redundant semicolons from code. 2023-12-31 19:42:23 +04:00
John Preston
cb4fce251e Version 4.13.1: Fix build with GCC. 2023-12-23 14:18:12 -04:00
John Preston
fd64718502 Allow setting channel wallpaper. 2023-12-22 07:35:02 -04:00
John Preston
941126ad69 Allow setting channel emoji status. 2023-12-22 07:35:02 -04:00
John Preston
9201cf24f1 Respect correct min-level for colors. 2023-12-22 07:35:02 -04:00
John Preston
41ae1f56ed Update API scheme to layer 169. Multigifts. 2023-12-22 07:35:02 -04:00
23rd
ed7212f864 Added mini icon of boosts to description in gifts box from settings. 2023-12-19 04:06:54 +03:00
23rd
8bcb784f12 Moved out child centering within widget to single function. 2023-12-19 01:52:33 +03:00
23rd
431549c81a Improved processing of successful payment in gift box from settings. 2023-12-19 01:43:58 +03:00
23rd
12110e17a2 Slightly improved style of userpics from top in gift box from settings. 2023-12-18 05:50:14 +03:00
23rd
db8338156a Slightly improved style of terms label in gift box from settings. 2023-12-18 05:50:14 +03:00
John Preston
de8b09d7fc Use correct phrases for outgoing giftcodes. 2023-12-17 21:20:21 +00:00
23rd
fddbce5dce Added premium summary to gift box from settings. 2023-12-17 13:05:21 +03:00
23rd
8efbd7a1cb Added ability to hide subscription button in preview premium boxes. 2023-12-17 13:01:36 +03:00
23rd
bce310d5c8 Added complex description to top of gift box from settings. 2023-12-17 13:01:36 +03:00
23rd
ed9ecbd235 Added circle badge to userpics in gift box from settings. 2023-12-17 13:01:17 +03:00
23rd
1e756dd380 Added userpics to top of gift box from settings. 2023-12-17 13:00:40 +03:00
23rd
b9b6226692 Added initial ability to gift premium to contacts from settings. 2023-12-17 09:50:50 +03:00
John Preston
94e8f2a791 Update API scheme. Anonymous gift links. 2023-12-16 20:25:02 +00:00
John Preston
4b9648d8d9 Update API scheme. Giveaway winners. 2023-12-16 20:25:02 +00:00
John Preston
d56724f290 Add additional prize info to giveaway details. 2023-12-16 20:25:02 +00:00
23rd
88b20f6700 Fixed indents in some files. 2023-12-16 20:25:01 +00:00
John Preston
0e2131e6eb Version 4.12: Fix build with GCC. 2023-11-30 20:59:58 +04:00
John Preston
2611899448 Set custom reactions hard limit to max level. 2023-11-30 17:56:57 +04:00
John Preston
514ced1d8e Respect wallpaper_overriden flag. 2023-11-30 17:56:57 +04:00
John Preston
28d9330969 Add premium promo section about wallpapers. 2023-11-28 21:55:27 +04:00
John Preston
8c3fa14a75 Allow setting background for both sides. 2023-11-28 21:55:27 +04:00
23rd
4ad51ffb42 Removed some include directives. 2023-11-28 21:55:26 +04:00
23rd
d28ba4fad9 Moved out PeerByLinkInfo from SessionNavigation to separate file. 2023-11-28 21:55:26 +04:00
John Preston
b5b5c28ac5 Request possible peer colors from API. 2023-11-28 21:55:25 +04:00
John Preston
f8825e8135 Update API scheme on layer 167. 2023-11-28 21:55:25 +04:00
John Preston
4b5e2582d9 Update API scheme on layer 167. 2023-11-28 21:55:24 +04:00
John Preston
43a8733fc7 Implement rich reactions selector. 2023-11-28 21:55:23 +04:00
John Preston
1e26c33b3d Implement choose-reactions input field. 2023-11-28 21:55:23 +04:00
John Preston
87a042b029 Fix build on Linux 2023-11-25 12:59:47 +04:00
23rd
ac6765ebdb Replaced default toast text for shared messages with complex phrases. 2023-11-20 16:25:28 +03:00
23rd
12272a450f Slightly optimized include directives in some headers. 2023-11-15 04:20:20 +03:00
23rd
819020e515 Moved out common default style entries from settings. 2023-11-15 04:20:20 +03:00
23rd
596460172f Optimized include directives of core_settings header. 2023-11-15 03:30:04 +03:00
23rd
baa99be6a5 Removed some unwanted include directives of lang_keys in header files. 2023-11-15 03:30:04 +03:00
23rd
f748de9dc4 Removed redundant include directives of settings_common headers. 2023-11-15 03:30:04 +03:00
23rd
85e2d54a05 Split out settings_common module into td_ui and non-td_ui variants. 2023-11-15 03:30:04 +03:00