Commit Graph

238 Commits

Author SHA1 Message Date
23rd d218b76efe Removed MTP::Error from migrating chat. 2021-11-30 17:38:12 +04:00
23rd b9c64499bd Moved code for api participants to separated file. 2021-11-26 18:00:21 +04:00
John Preston 5e3b094e86 Allow report / block / delete all from channels. 2021-11-26 18:00:20 +04:00
John Preston 4f7c728632 Update API scheme on layer 135. 2021-11-26 18:00:20 +04:00
John Preston 3b2f6b893d Hide MTPInputFile in Api::RemoteFileInfo. 2021-11-18 11:04:06 +04:00
John Preston 9e05e44a14 Inform about join request being sent. 2021-10-29 18:31:06 +04:00
23rd ea10cf5758 Moved api polls processing to separated file. 2021-10-20 22:56:19 +03:00
23rd 159beb138a Moved api peer photo processing to separated file.
Removed MainWidget::deletePhotoLayer.
2021-10-20 22:56:19 +03:00
23rd fa6725c54a Extracted api code from ConfirmPhoneBox to separated file. 2021-10-19 06:34:27 +03:00
23rd 94d5d20281 Simplified saving self bio. 2021-10-19 06:34:27 +03:00
John Preston 730412fefe Load albums of last chat messages. 2021-10-04 23:47:33 +04:00
23rd 21aa1f49d7 Moved views increment scheduler from MainWidget to separate file. 2021-09-30 18:45:38 +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 9dfc60026e Add simple forwarding options on bar click. 2021-08-31 19:47:38 +03:00
23rd cbad2469db Moved MTP cloud password from ApiWrap to Api::CloudPassword. 2021-08-10 15:46:18 +03:00
23rd 0ae260c6e1 Moved MTP blocked peers from ApiWrap to Api::BlockedPeers. 2021-08-10 15:46:18 +03:00
23rd 5bd73bab9b Moved user privacy from ApiWrap to Api::UserPrivacy. 2021-08-10 15:46:18 +03:00
John Preston 256546071b Add ability to reset cloud password in 7 days. 2021-07-30 14:32:49 +03:00
John Preston 4276b6cce0 Use rpl for Window::Theme::Background updates. 2021-07-15 16:42:36 +03:00
John Preston 75090dedaa Don't store MTPInputStickerSet in data. 2021-07-08 22:08:59 +03:00
John Preston 2ffda9f240 Don't use MTP* for ChatAdminRight / ChatRestriction. 2021-07-08 13:34:06 +03:00
23rd 8d62800e77 Moved stickerSetInstalled from ApiWrap to Data::Stickers. 2021-07-06 12:13:05 +03:00
23rd 2bd3a8aaff Added ability to delete and reorder mask sets.
Moved ApiWrap::stickerSetDisenabled and ApiWrap::stickersSaveOrder
to ApiWrap::saveStickerSets as lambdas.
2021-07-06 12:13:05 +03:00
23rd 1cdb83462e Added initial implementation of masks panel. 2021-07-06 12:13:05 +03:00
23rd e05343d721 Added sending info of stickered photos. 2021-07-06 12:13:05 +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 a0a13c3b86 Update API scheme to layer 126. 2021-03-20 15:43:35 +04:00
23rd d4bb62d055 Slightly refactored uploading of edit media. 2021-03-13 12:59:11 +03:00
John Preston 68b0a85369 Rename RPCError to MTP::Error. 2021-03-12 16:58:26 +04:00
John Preston 267e5fd9e0 Allow getting outer_msg_id in MTProto handlers. 2021-03-12 16:58:26 +04:00
John Preston 8142acc709 Remove legacy #feed code. 2021-02-25 17:03:51 +04:00
John Preston b2c84d675c Allow clearing calls log. 2021-01-25 16:50:59 +04:00
John Preston 02ad5f2772 Update API scheme and start invite links. 2021-01-25 16:47:40 +04:00
John Preston 92bc278052 Allow inviting contacts to voice chats. 2020-12-22 12:33:06 +04:00
John Preston b3b11bd9e7 Move PreparedFile/PreparedList to td_ui. 2020-10-30 18:32:18 +03:00
23rd 1459e6f38e Moved request for attached stickers to separate file. 2020-10-30 13:18:40 +03:00
23rd 6ac5f32796 Moved other authorizations api request to separated file. 2020-09-30 18:48:34 +03:00
John Preston 891b4a91a3 Generate correct links to replies section. 2020-09-29 19:03:28 +03:00
John Preston 55edb3bdfe Update API scheme to layer 119. Count replies. 2020-09-29 19:03:18 +03:00
23rd 8a34f29329 Moved toggling of existing media to separate file. 2020-08-19 14:47:25 +03:00
John Preston 3aea9cb3ca Add archive and mute settings editing. 2020-07-25 11:24:37 +04:00
23rd 2ebf44c166 Removed unused code from apiwrap. 2020-07-17 18:22:38 +03:00
John Preston c15019dee6 Fix crashes in MainWidget and ApiWrap. 2020-06-30 18:26:44 +04:00
John Preston 30c82bb2e0 Remove some MainWindow::sessionController() calls. 2020-06-23 21:53:44 +04:00
John Preston 3c4e959468 Replace observer_peer with rpl interface. 2020-06-23 21:53:40 +04:00
John Preston 0b028b959b Move updates handling MainWidget -> Api::Updates. 2020-06-23 21:53:39 +04:00
John Preston ad4afe9293 Move session data localstorage -> storage_account. 2020-06-23 21:53:39 +04:00
John Preston fc174f742a Move stickers code to Data::Stickers class. 2020-06-23 21:53:38 +04:00
John Preston 803593cd8d Change Stickers::Set from value to object type. 2020-06-01 18:09:33 +04:00