Commit Graph

111 Commits

Author SHA1 Message Date
John Preston 554f66f089 Support separate message type group restrictions. 2023-02-02 22:12:31 +04:00
23rd 23a1f7b83c Fixed display of empty result of topics search. 2023-01-21 07:29:40 +04:00
23rd 465a33f095 Fixed display of loading peer list item in choose forum topic box. 2023-01-21 07:29:40 +04:00
John Preston a8106aa38d Fix glitches in search results. 2022-12-06 20:33:17 +04:00
John Preston b775d577a4 Fix forum rounding in folder editing box. 2022-12-06 12:12:07 +04:00
John Preston cb653df0f6 Support adaptive forum userpic rounding radius. 2022-12-05 16:18:10 +04:00
John Preston 01139e1b04 Remove facades module. 2022-11-30 16:55:51 +04:00
23rd bc5aa7338e Removed inaccessible users from choosing recipients for forwards box. 2022-11-22 00:26:49 +00:00
John Preston bd8cdcb520 Fix topic icons animating in choose topic box. 2022-11-01 19:25:45 +04:00
John Preston d5ea0149e8 Implement drag-n-drop to forum topics. 2022-11-01 19:25:44 +04:00
John Preston 1ac051a812 Implement forwarding to topics. 2022-11-01 19:25:44 +04:00
John Preston e5f2d83548 Support new rounding in bot inline keyboards. 2022-11-01 19:25:35 +04:00
John Preston 749fb52113 Implement animated spoilers. 2022-09-18 16:52:30 +04:00
John Preston 6454f67e74 Support new attach bot deeplinks. 2022-06-03 00:38:04 +04:00
John Preston 649f2908e8 Improve phrases in adding a bot as an admin. 2022-03-30 12:23:05 +04:00
John Preston a35888a07b Add to Group / Channel with suggested rights for bots. 2022-03-30 12:23:05 +04:00
23rd 5718789d53 Replaced Ui::InformBox and Ui::ConfirmBox with GenericBox. 2022-02-28 09:08:01 +03:00
John Preston 0f15adb208 Sort contacts by last seen by default.
Fixes #5515.
2021-12-22 15:14:16 +00:00
23rd b9c64499bd Moved code for api participants to separated file. 2021-11-26 18:00:21 +04:00
John Preston 773755d70e Send as a channel in HistoryWidget. 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 ab58aa020e Allow many custom elements in PeerListRow. 2021-10-29 18:31:06 +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
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 2ffda9f240 Don't use MTP* for ChatAdminRight / ChatRestriction. 2021-07-08 13:34:06 +03:00
John Preston 1342077dcb Use 48 bit [User/Chat/Channel]Id, 56 bit PeerId. 2021-04-09 15:05:00 +04:00
John Preston 68b0a85369 Rename RPCError to MTP::Error. 2021-03-12 16:58:26 +04:00
23rd 019e691fbb Moved some session dependent methods to SessionController.
MainWindow::showAddContact(),
MainWindow::showNewGroup(),
MainWindow::showNewChannel().
2021-02-04 18:13:03 +04:00
23rd d4bbbdb65c Replaced rand_value util function with openssl::RandomValue. 2021-01-24 10:41:10 +03:00
John Preston 574d915c23 Fix build and tray icon menu on Windows. 2021-01-22 16:53:59 +04:00
John Preston 92bc278052 Allow inviting contacts to voice chats. 2020-12-22 12:33:06 +04:00
23rd 367b028094 Moved contacts box preparing to single place. 2020-10-23 13:31:24 +03:00
John Preston 4a94a0c438 Show replies dialog correctly. 2020-09-29 19:03:24 +03:00
John Preston 357caf8007 Keep separate MTP::Config's for separate accounts. 2020-06-23 21:53:41 +04:00
John Preston 3c4e959468 Replace observer_peer with rpl interface. 2020-06-23 21:53:40 +04:00
John Preston 0ad7dcaef9 Remove MTP::MainInstance() global access point. 2020-06-23 21:53:40 +04:00
John Preston 5120d3ef2c Skip channels without write access in forward box. 2020-05-08 13:35:16 +04:00
John Preston 818f5cd004 Send and delete messages through Histories. 2020-02-21 18:48:30 +04:00
John Preston e943264823 Pass MTP::Instance to MTP::Sender. 2019-11-29 15:36:05 +03:00
John Preston a6c84c36c0 Use layers and boxes from lib_ui. 2019-10-19 12:27:52 +04:00
John Preston c5845f17ae Remove twidget header. 2019-10-01 23:59:46 +03:00
John Preston 0c713a930a Remove app.h / facades.h from precompiled header. 2019-10-01 23:59:46 +03:00
John Preston 549789bfb7 Update API scheme to layer 105. 2019-08-27 19:10:37 +03:00
John Preston bacaf805b5 Pass SessionNavigation to some boxes. 2019-07-25 20:55:11 +02:00
John Preston ff44094ded Rename AuthSession to Main::Session. 2019-07-24 13:45:24 +02:00
John Preston 873b77cf40 Use UserData::isBot where applicable. 2019-07-24 08:02:20 +02:00
John Preston c50ade565a Track sending and failed messages. 2019-07-24 08:02:20 +02:00
John Preston 567bf60644 Use getters in MTP classes. 2019-07-05 16:23:07 +02:00