Commit graph

349 commits

Author SHA1 Message Date
98f2683e5e Updated TDesktop sources to 3.4.3 2022-01-10 03:04:51 +03:00
John Preston
bba7010e74 Show "View Message" button in sponsored. 2021-12-31 16:07:36 +03:00
John Preston
611be90880 Rewrite sponsored to use fake sender names. 2021-12-31 16:07:36 +03:00
23rd
3aacae2cb2 Added behavior to hide spoilers when switching sections. 2021-12-29 21:22:34 +03:00
John Preston
a8bc7baa70 Update all messages in case of chat reactions toggle. 2021-12-29 21:22:34 +03:00
John Preston
aafc24008b Apply reactions from message edit updates. 2021-12-29 21:22:34 +03:00
23rd
8b74dc2dec Added spoiler support to service messages. 2021-12-29 21:22:33 +03:00
23rd
fa4d1d72c4 Added animation for spoilers in sections. 2021-12-29 21:22:33 +03:00
John Preston
fe468ce7e9 Respect can_see_list flag in reactions. 2021-12-29 21:22:33 +03:00
John Preston
be74f8f2bc Fix sponsored messages badge with BottomInfo. 2021-12-29 21:22:33 +03:00
John Preston
2b0cd2a611 Fix refreshing bottom info. 2021-12-29 21:22:33 +03:00
John Preston
1af2cfe143 Extract BottomInfo from HistoryView::Message. 2021-12-29 21:22:33 +03:00
John Preston
3a43217301 Show reactions in messages. 2021-12-29 21:22:32 +03:00
John Preston
5e7e7eaa83 FullMsgId rely on PeerId instead of ChannelId. 2021-12-22 10:11:57 +00:00
3d1eb14ff7 Updated TDesktop sources to 3.3 2021-12-08 19:05:46 +03:00
f418e7ff73 Updated TDesktop sources to 3.2.5 2021-12-07 14:28:17 +03:00
John Preston
db0c57a186 Fix reply-to-media timestamps in captions. 2021-12-02 14:42:50 +04:00
John Preston
894e7c5828 Fix imported messages without a sender name. 2021-12-02 13:36:49 +04:00
23rd
3647241f71 Removed unused MTP::Error from callbacks on fail. 2021-11-30 17:37:07 +04:00
John Preston
0f443da758 Track noforwards flag in specific messages. 2021-11-26 18:00:22 +04:00
John Preston
773755d70e Send as a channel in HistoryWidget. 2021-11-26 18:00:18 +04:00
John Preston
9be47f0870 Allow restricting forwards in groups / channels. 2021-11-26 18:00:18 +04:00
John Preston
431e3035af Update API scheme to layer 135. 2021-11-26 18:00:18 +04:00
John Preston
f2e4a5a35a Highlight YouTube video timestamps as external links. 2021-11-18 16:03:12 +04:00
John Preston
2f48fe920e Fixed edit of scheduled messages. 2021-11-13 13:44:56 +04:00
John Preston
6eaeb306d6 Add a RequestDependentMessageData method. 2021-11-08 12:37:02 +04:00
John Preston
c534f3f22e Some internal HistoryItem refactoring.
Replace most IsServerMsgId / id <=> 0 with isRegular().
Track isLocal / isHistoryEntry in flags.
Remove toHistoryMessage.
2021-11-07 12:50:13 +04:00
23rd
80461bd9fe Moved ConfirmBox to Ui namespace. 2021-10-19 06:34:27 +03:00
23rd
6148edbc7d Moved ConfirmBox to td_ui. 2021-10-19 06:34:27 +03:00
23rd
816f422e21 Removed MTP* from applying message edition.
Fixed #17073.
2021-10-08 10:39:36 +04:00
John Preston
d532b65d1c Don't use MTP* for replies data. 2021-10-07 22:57:44 +04:00
John Preston
bef35b9bc3 Don't use MTP* in call and invoice media data. 2021-10-07 18:22:28 +04:00
23rd
b3f73bb6a9 Added badge for sponsored messages. 2021-10-07 11:09:08 +04:00
John Preston
21ac2b8f3a Don't use MTP* for reply markup data. 2021-10-04 23:47:30 +04:00
John Preston
ead695b101 Don't pass wide fake MsgId through MTPMessage. 2021-09-30 15:30:39 +04:00
John Preston
1e660fc2a2 Allocate 64 bits for message ids. 2021-09-30 13:49:37 +04:00
fa4931a0e0 Updated TDesktop sources to 3.1 2021-09-20 04:56:43 +03:00
3f08b7ec96 Updated TDesktop sources to 3.0.1 2021-09-17 17:28:15 +03:00
3f4f5f78b8 Updated TDesktop sources to 2.9.3 2021-09-16 15:20:02 +03:00
John Preston
8069fdd873 Use base/random.h instead of openssl::RandomValue. 2021-09-15 13:42:22 +03:00
23rd
900a7d0b2b Appended references to const auto types in loop to prevent copying.
Suggested by Apple Clang.
2021-09-09 16:32:04 +03:00
John Preston
a6c98f4bb4 Update API scheme to layer 133. 2021-09-07 23:41:07 +03:00
John Preston
c39024c7fd Track and display unread count in discussions. 2021-08-30 20:32:58 +03:00
John Preston
4dd58b79e9 Fix forward of a bot message with a game from a group. 2021-08-18 16:43:22 +03:00
John Preston
c5c94276c2 Allow editing caption of forwarded audio file.
Fixes https://bugs.telegram.org/c/3025
2021-08-18 16:29:05 +03:00
John Preston
c79cd0b692 Use Images::Read instead of App::readImage. 2021-08-11 18:55:08 +03:00
John Preston
116a768fde Don't use MTP* for Message flags. 2021-07-28 15:28:17 +03:00
John Preston
22e77bf3af Don't use MTP* for ReplyMarkup flags. 2021-07-28 15:16:23 +03:00
f28b9ccf0c Updated TDesktop sources to 2.8.8 2021-07-16 03:03:15 +03:00
John Preston
a74228acea Don't use MTP* for ChannelData flags. 2021-07-08 16:11:09 +03:00