Commit Graph

345 Commits

Author SHA1 Message Date
23rd b9f6591734 Moved out FastShareMessage from history_message. 2022-03-06 18:11:47 +03:00
23rd fa50a5962c Removed Window::SessionNavigation from ShareBox. 2022-03-06 18:11:47 +03:00
23rd 5718789d53 Replaced Ui::InformBox and Ui::ConfirmBox with GenericBox. 2022-02-28 09:08:01 +03:00
23rd 4dee21c0e6 Added userpics support to sponsored messages. 2022-02-25 19:41:16 +03:00
23rd 641bb01ba2 Added ability to set forward options from ShareBox. 2022-02-04 22:20:17 +03:00
John Preston b7a70a2f28 Improve unread reactions list consistency. 2022-01-31 23:16:56 +03:00
John Preston 07beb3e86b Correctly clear unread reactions. 2022-01-31 11:19:46 +03:00
John Preston e509da8fd8 Instantly mark as read visible new reactions. 2022-01-28 19:10:07 +03:00
John Preston e9c79886d2 Track unread mentions and unread reactions the same way. 2022-01-28 19:10:07 +03:00
John Preston df044dbd83 Show local notifications about contact reactions. 2022-01-14 21:55:48 +03:00
23rd e1aa08b985 Removed text commands. 2022-01-12 11:54:24 +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
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
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