Commit Graph

10844 Commits

Author SHA1 Message Date
23rd 816f422e21 Removed MTP* from applying message edition.
Fixed #17073.
2021-10-08 10:39:36 +04:00
23rd 6c0dccd9ff Fixed replying in replies by double click.
Fixed #16645.
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
23rd 51b259fdea Updated ad description. 2021-10-07 23:32:10 +03: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
John Preston ae261fcede Beta version 3.1.7.
- Fix channel message views and comments counter updates.
- Sponsored messages support.
- Crash fix.
2021-10-07 11:42:24 +04:00
John Preston c04cdff7f7 Disable group call logs to console. 2021-10-07 11:42:24 +04:00
John Preston 466aa5a14d Fix view button style. 2021-10-07 11:38:07 +04:00
John Preston 4aac633413 Fix views increment.
Regression was introduced in 21aa1f49d7.

Fixes #17069.
2021-10-07 11:29:30 +04:00
23rd ad328d35a2 Added box for ad description. 2021-10-07 11:09:09 +04:00
23rd c5140f34a7 Added view button to sponsored messages. 2021-10-07 11:09:09 +04:00
23rd 419f6345b3 Added sponsored messages to HistoryWidget. 2021-10-07 11:09:09 +04:00
23rd c2c53df886 Added new Ui::СontinuousScroll. 2021-10-07 11:09:09 +04:00
23rd b3f73bb6a9 Added badge for sponsored messages. 2021-10-07 11:09:08 +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 352768053d Beta version 3.1.6: Fix build on Linux. 2021-10-06 21:07:18 +04:00
John Preston 79b1cec4f3 Beta version 3.1.6: Remove -z,all from linker flags on Linux.
I hope it fixes #17037.
2021-10-06 20:37:39 +04:00
John Preston 8d09190439 Build ffmpeg without --disable-alsa/iconv on Linux. 2021-10-06 20:37:30 +04:00
John Preston 5cd0a3719e Beta version 3.1.6: Detach FastReply from MarkAsRead. 2021-10-06 19:24:30 +04:00
John Preston 8b7cd4a0c7 Beta version 3.1.6: Fix crash on old Windows 10 versions. 2021-10-06 17:36:30 +04:00
John Preston 937c2d3dce Beta version 3.1.6: Update patches revision. 2021-10-06 13:44:28 +04:00
23rd 1fa5d273cc Fixed scroll in Dialogs::Widget.
Regression was introduced in cb8f49aea0.
2021-10-06 13:40:26 +04:00
John Preston 24fa3dbf8f Beta version 3.1.6: Fix build on macOS. 2021-10-06 11:10:06 +04:00
John Preston c9b782fd63 Beta version 3.1.6.
- Show small media previews in chats list.
- Show media album previews and caption text in chats list.
- Add "Quick Reply" and "Mark as Read" to native Windows notifications.
2021-10-06 11:07:38 +04:00
John Preston e7cf560da0 Handle toast activations by COM activator. 2021-10-06 11:02:57 +04:00
John Preston 86e07518ad Fix clearing notifications from Action Center.
Regression was introduced in 997913be25.
2021-10-05 16:53:36 +04:00
John Preston 8c71d03959 Add reply from Windows native notifications. 2021-10-05 16:52:46 +04:00
John Preston 967e86f4ab Rewrite Windows native notifications using C++/WinRT. 2021-10-05 12:09:15 +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 84f561b251 Don't use MTP* in the image editor. 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 1790828b01 Dump symbols from the binary instead of dSYM.
For some reason dump_syms from dSYM now fails with an error:

Telegram.app.dSYM/Contents/Resources/DWARF/Telegram:
the section '__text' in segment '__TEXT' claims its contents lie outside the segment's contents
2021-10-04 23:45:21 +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 5136cc3c9c Rename Dialogs::Layout to Dialogs::Ui. 2021-10-04 23:45:21 +04:00
John Preston b78b27f517 Move dialogs_layout to dialogs/ui/. 2021-10-04 23:45:21 +04:00
John Preston 85760ea92c Fix repeated attempt to transfer ownership.
Fixes #8570.
2021-10-04 23:45:21 +04:00
Ilya Fedin c2212c719e Inform Qt about taskbar hider
This allows the feature to work without patching Qt
2021-10-04 23:23:50 +04:00
GitHub Action fc8a0d0efd Update User-Agent for DNS to Chrome 94.0.4606.61. 2021-10-04 23:23:20 +04:00
23rd c052c37621 Fixed build for non-Windows. 2021-09-30 21:04:43 +03:00
23rd 21f7cec781 Fixed build for macOS. 2021-09-30 21:21:07 +04:00
23rd 64af456d29 Fixed build for macOS. 2021-09-30 21:16:45 +04:00
John Preston 7751c4ac1f Port PQ factorization from TDLib. 2021-09-30 21:14:00 +04:00