Commit Graph

439 Commits

Author SHA1 Message Date
23rd
e486cf1afa Fixed calculate of discount in premium subscription options. 2023-02-07 11:35:21 +04:00
23rd
8887b2f542 Added ability to set photo for contact from userpic emoji builder. 2023-02-02 22:12:32 +04:00
John Preston
5b063a1807 Update API scheme on layer 152. 2023-02-02 22:12:32 +04:00
23rd
9940ee21d3 Added api support to upload emoji markup of userpic instead of image. 2023-02-02 22:12:32 +04:00
23rd
0578fb421f Added api support of default list of group emoji for userpic builder. 2023-02-02 22:12:32 +04:00
John Preston
f4455663fc Don't add views counter when editing media. 2023-02-02 22:12:32 +04:00
John Preston
a58f9c6ebd Update API scheme on layer 152. 2023-02-02 22:12:32 +04:00
23rd
6ffdc52b55 Added initial api support of default list for emoji profile. 2023-02-02 22:12:32 +04:00
John Preston
826ec75c33 Update API scheme on layer 152. 2023-02-02 22:12:31 +04:00
John Preston
de5bbf2cb9 Allow creating group / channel for the bot. 2023-02-02 22:12:31 +04:00
John Preston
809610817e Initial request peer button implementation. 2023-02-02 22:12:31 +04:00
John Preston
90cb61676a Update API scheme to layer 152. 2023-02-02 22:12:31 +04:00
John Preston
58cedb796e Fix possible crash on empty options from the server. 2023-02-02 10:55:04 +04:00
John Preston
fd47fd4d9e Track shared media index better.
Fixes #25667.
2023-01-09 11:48:33 +04:00
John Preston
eb6c350e72 Fix unread reactions button in chats with users.
Regression was introduced in 6a7f030ee7.

Fixes #25661.
2023-01-03 09:22:46 +04:00
23rd
d424a8b039 Added handler of urls for login. 2022-12-29 11:11:08 +03:00
23rd
613d4932ca Added button for opening custom url to Ui::ConfirmPhoneBox. 2022-12-29 11:11:08 +03:00
Ilya Fedin
66093f0cb5 cTimeFormat/cDateFormat -> QLocale::ShortFormat
This allows to use platform-specific formatting functions
2022-12-28 10:28:12 +04:00
John Preston
627eba1c5a Update API scheme on layer 151. 2022-12-26 14:24:08 +04:00
John Preston
ce40ecc7f9 Show admins in participants_hidden group info. 2022-12-26 14:24:08 +04:00
John Preston
bd490421e8 No "Who Viewed" in case of hidden members. 2022-12-26 14:24:08 +04:00
John Preston
b9b6d4dba1 Show toast after photo suggestion is accepted. 2022-12-26 14:24:08 +04:00
John Preston
9513aaa768 Allow accepting video userpic suggestions. 2022-12-26 14:24:07 +04:00
John Preston
446f0f1653 Fix channels limit info when trying an invite link. 2022-12-26 14:24:07 +04:00
23rd
721b2ebe8a Added initial support of api for fallback photo. 2022-12-26 14:24:07 +04:00
John Preston
1dd83f3d34 Support personal photo edit in EditContactBox. 2022-12-26 14:24:06 +04:00
John Preston
faf6c48f25 Remove ui/special_buttons module. 2022-12-26 14:24:06 +04:00
John Preston
ca0b34dcf0 Update API scheme on layer 151. 2022-12-26 14:24:06 +04:00
John Preston
5bee6310c0 Allow sending media with spoilers. 2022-12-26 14:24:05 +04:00
John Preston
48cf0a4382 Implement suggested profile photo message. 2022-12-26 14:24:05 +04:00
John Preston
5fe9c93cb6 Set / suggest / reset a contact personal photo. 2022-12-26 14:24:05 +04:00
John Preston
1b73b34810 Make HistoryItem a final class. 2022-12-26 14:24:04 +04:00
23rd
66926ba25e Fixed scrolling to end when media is replaced. 2022-12-09 11:54:37 +03:00
John Preston
cfddca8f58 Fix possible crashes in toastParent expiring. 2022-12-07 13:07:36 +04:00
John Preston
cb653df0f6 Support adaptive forum userpic rounding radius. 2022-12-05 16:18:10 +04:00
23rd
b2e9c4ab75 Moved Ui::EmptyUserpic to td_ui. 2022-12-04 03:46:44 +03:00
23rd
5df0b08a42 Added support of second colors for empty userpic backgrounds. 2022-12-04 03:46:44 +03:00
John Preston
a4e4681835 Add jump-to-topic panel in View as Messages. 2022-12-02 18:20:22 +04:00
23rd
4fabb3f2a2 Replaced some qsl with u""_q literal. 2022-11-30 17:17:14 +03:00
John Preston
eaed91263e Simplify HistoryHider, remove most of uses. 2022-11-30 16:13:31 +04:00
John Preston
5d8a2bc7b7 Implement simple sub-column for topics list. 2022-11-30 13:03:42 +04:00
23rd
97fa92de0b Added api support for global TTL settings. 2022-11-29 17:41:20 +03:00
John Preston
d89573bab5 Update API scheme to layer 150. 2022-11-29 18:30:38 +04:00
23rd
2acedca6b7 Replaced some qstr with u""_q literal. 2022-11-29 14:12:50 +03:00
John Preston
8a288476b8 Implement pinned topics reordering. 2022-11-22 00:26:48 +00:00
John Preston
c7741cb62a Apply short topic info from channelMessages. 2022-11-22 00:26:48 +00:00
John Preston
983b6af0b4 Update API scheme to layer 149. 2022-11-22 00:26:48 +00:00
John Preston
b514496546 Simplify SendProgressManager::done prototype. 2022-11-11 11:44:03 +04:00
John Preston
9d4840c0de Respect window active state on mark as read. 2022-11-02 20:13:29 +04:00
John Preston
ff352d7647 Fix password request box closing in bot button callback. 2022-11-02 20:13:29 +04:00