Commit Graph

1058 Commits

Author SHA1 Message Date
John Preston 2ade6be146 Show correct phrase in local join messages. 2021-10-29 18:31:06 +04:00
John Preston 9e05e44a14 Inform about join request being sent. 2021-10-29 18:31:06 +04:00
John Preston 3af3f85f82 Allow creating approve-only invite links. 2021-10-29 18:31:06 +04:00
John Preston e471d61d7a Enable ads leading to a specific channel post. 2021-10-29 18:31:06 +04:00
23rd 70e9b4a332 Moved type of call id to alias. 2021-10-29 16:10:07 +04:00
John Preston 7bc4b2c595 Add StickersSet::thumbnailBigFileBaseCacheKey. 2021-10-21 23:01:14 +04:00
Ilya Fedin 847c01d605 Add Qt 6 support
Tested only on Linux so far
2021-10-21 13:15:00 +04:00
23rd ea10cf5758 Moved api polls processing to separated file. 2021-10-20 22:56:19 +03: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
John Preston adb0a9b6f0 Fix document filenames.
Regression was introduced in 2b11e45692.
2021-10-11 22:58:24 +04:00
CoderTimZ c9e24c2283 Display dates with the system date format 2021-10-11 21:56:29 +04:00
John Preston 041c922451 Add non-MTP ParseWebPageType. 2021-10-11 21:54:07 +04:00
John Preston 01c1096c62 Save Data::Session* in GameData. 2021-10-11 21:53:18 +04:00
John Preston 2b11e45692 Add DocumentData::setFileName. 2021-10-11 21:52:49 +04:00
23rd 6163e922b3 Added view button to webpages. 2021-10-10 19:30:38 +03:00
23rd 816f422e21 Removed MTP* from applying message edition.
Fixed #17073.
2021-10-08 10:39:36 +04:00
23rd c2b505b78c Added ability to open specific post from sponsored messages. 2021-10-08 10:39:27 +04:00
23rd d8fb5be9b5 Moved opening peer from PeerClickHandler to SessionController. 2021-10-07 23:32:10 +03:00
John Preston bef35b9bc3 Don't use MTP* in call and invoice media data. 2021-10-07 18:22:28 +04:00
23rd eda5cd47ad Added manager of sponsored messages. 2021-10-07 11:09:08 +04:00
John Preston 0c906a5e6d Fix crash in local changelog messages. 2021-10-07 10:58:24 +04:00
John Preston 730412fefe Load albums of last chat messages. 2021-10-04 23:47:33 +04:00
John Preston 576883ddc8 Make mini preview radius 2px. 2021-10-04 23:47:33 +04:00
John Preston 992d636680 Generate album mini previews with up-to-three images. 2021-10-04 23:47:33 +04:00
John Preston 8cdd2f113f Add play icon to video mini previews. 2021-10-04 23:47:33 +04:00
John Preston d5f935b73d Put mini-previews after sender name. 2021-10-04 23:47:33 +04:00
John Preston 21ac2b8f3a Don't use MTP* for reply markup data. 2021-10-04 23:47:30 +04:00
John Preston 792b9090a7 Generate mini-previews for photos and files. 2021-10-04 23:45:21 +04:00
John Preston 8c21fad642 Move preview paint to Dialogs::Ui::MessageView. 2021-10-04 23:45:21 +04:00
John Preston b2526ab7f6 Make sure special MsgId-s are always outside ServerMaxMsgId range. 2021-09-30 19:31:03 +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 ab0d2bf9c6 Initial chat theme changing. 2021-09-28 19:27:41 +04:00
John Preston 19ce1edc16 Use base::SafeRound instead of std::round.
Previous assertion violations because of NaN from std::round were
in video streaming, see commits 27d58ba07b, 8f5830d520.

Now the crashes happened in the ConvertScale() call from a background
thread when preparing an image from clipboard for sending to a chat.
2021-09-27 12:13:57 +04:00
John Preston 2f5bed2899 Skip "contact joined" toast if disabled in Settings.
The chats still appear (they are server-side), but skip the toast.
2021-09-23 17:37:29 +04:00
John Preston e0135e509d Allow exporting test chat themes. 2021-09-19 14:40:43 +03:00
John Preston 8069fdd873 Use base/random.h instead of openssl::RandomValue. 2021-09-15 13:42:22 +03:00
John Preston bc2e6c4fd1 Accept uppercase hex values in theme testing links. 2021-09-12 23:18:37 +03:00
John Preston 8d31769846 Fix build with Xcode. 2021-09-11 00:02:15 +03:00
John Preston 13c00949ed Add a simple way of testing color themes. 2021-09-10 22:29:30 +03:00
John Preston 28be89f7c3 Correctly apply photos from "min" users. 2021-09-09 16:59:36 +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 14314df26a Show userpics in who read context item. 2021-09-09 00:10:49 +03:00
23rd cd59ba6629 Added ability to start video recording in group calls. 2021-09-07 23:41:08 +03:00
John Preston 4273167aa2 Adjust outgoing bubble text and icon colors. 2021-09-07 23:41:08 +03:00
John Preston a6c98f4bb4 Update API scheme to layer 133. 2021-09-07 23:41:07 +03:00
John Preston 23e9e7b9f0 Remove for_const macro. 2021-09-06 13:13:26 +03:00
John Preston 1a4a9319f3 Custom colors in history_view_message module. 2021-09-06 13:13:26 +03:00
John Preston 09e014cc14 Force non-transparency for WebDocuments in PhotoData. 2021-09-02 10:31:57 +03:00