Commit Graph

455 Commits

Author SHA1 Message Date
John Preston 3878a1b212 Remove some more Auth() calls. 2020-06-23 21:53:38 +04:00
John Preston bdbcd8e540 Use Main::Session in entities parsing. 2020-06-08 12:05:17 +04:00
John Preston a586b18dfb Fix pending web pages applying.
Fixes #7091.
2020-06-05 13:03:45 +04:00
John Preston f4cd84c313 Fix crash in stickers. 2020-06-01 18:09:34 +04:00
John Preston ae9ed820ee Fix sticker set icons display. 2020-06-01 18:09:33 +04:00
John Preston 803593cd8d Change Stickers::Set from value to object type. 2020-06-01 18:09:33 +04:00
23rd 41255cab44 Removed display views and author for sent scheduled messages.
Moved filling of post flags to a single place.
2020-05-20 12:41:44 +04:00
23rd 97446ae783 Added ability to reschedule scheduled messages. 2020-05-20 12:41:44 +04:00
John Preston 44e71dfa03 Allow hiding PSA from the chats list. 2020-04-30 11:35:01 +04:00
John Preston 266c1531ce Display PSA label instead of the proxy sponsor. 2020-04-30 11:35:01 +04:00
John Preston 8d632bd2be Update API scheme to layer 103. 2020-04-30 11:35:01 +04:00
John Preston 13d22947df Send poll solution with entities. 2020-04-21 18:55:34 +04:00
John Preston 3e2f4bed50 Update scheme to layer 102.
Support different dice-like media.
2020-04-21 18:55:34 +04:00
John Preston c3b807d483 Load folders exceptions after 100 chats. 2020-03-27 20:36:06 +04:00
John Preston d5b8fc703e Fix Ctrl+[1-5] jump to pinned in folders. 2020-03-27 20:36:05 +04:00
John Preston dc49f7e6dc Load all archive after the main list for filters. 2020-03-27 20:36:03 +04:00
John Preston e27a8fe058 Support pinned locally in filters. 2020-03-27 20:36:03 +04:00
John Preston f8cc134bd6 Send dice emoji as Dice media. 2020-03-27 20:36:02 +04:00
John Preston 1492571232 Fix members dropdown and mention autocomplete.
Fixes #7345.
2020-03-13 23:14:23 +04:00
John Preston 6f672ecdc3 Request history parts through Histories. 2020-02-21 18:48:30 +04:00
John Preston 818f5cd004 Send and delete messages through Histories. 2020-02-21 18:48:30 +04:00
John Preston db322cc19a Move requestDialogEntry to Histories. 2020-02-21 18:48:30 +04:00
John Preston 388173f0ad Fix delete+leave from a legacy group.
We first need to leave and receive a new message update about
us leaving the group and only after that remove the conversation
locally from the chats list, otherwise it reappears in the list.
2020-02-21 18:48:29 +04:00
John Preston c8d2ac9583 Move message ownership to History. 2020-02-21 18:48:29 +04:00
John Preston 5b7f7ed70e Fix reading of currently opened chat. 2020-02-21 18:48:29 +04:00
John Preston 9cccea9a87 All read history done through Data::Histories. 2020-02-21 18:48:29 +04:00
John Preston b0e1ae3948 Prepare Data::Histories for requests interdependencies. 2020-02-21 18:48:29 +04:00
John Preston 70408f0e22 First version of reading-while-scrolling. 2020-02-21 18:48:29 +04:00
23rd e7fbcce9d9 Added handler for SCHEDULE_STATUS_PRIVATE error when send file. 2020-01-28 11:20:36 +03:00
23rd 03d96a32f2 Fixed scheduled sending files until online when user is online. 2020-01-28 11:20:36 +03:00
John Preston f700220ec1 Create polls with different settings. 2020-01-23 10:09:33 +03:00
John Preston 2981a16e17 Allow sending multiple votes in a poll. 2020-01-23 10:09:33 +03:00
John Preston d57905c2b3 Update API scheme to layer 109. 2020-01-23 10:09:33 +03:00
John Preston 431b7445c3 Allow editing sensitive content filtering. 2019-12-09 15:59:08 +03:00
John Preston ee94e78533 All mtproto downloads using DownloadMtprotoTask. 2019-12-05 11:32:33 +03:00
John Preston 4611727ab9 Rewrite webFileLoader without Storage::DownloadManager. 2019-12-04 15:15:58 +03:00
John Preston e943264823 Pass MTP::Instance to MTP::Sender. 2019-11-29 15:36:05 +03:00
John Preston 08bfe6f1c1 Extract mtproto key generation code. 2019-11-15 16:16:32 +03:00
John Preston 30a1bd7ba2 Use base::call_delayed. 2019-10-19 12:27:56 +04:00
John Preston a6c84c36c0 Use layers and boxes from lib_ui. 2019-10-19 12:27:52 +04:00
John Preston 849deb57e2 Move many widget classes to lib_ui. 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 9ff1fbcf47 Support theme document file origins. 2019-09-09 11:51:07 +03:00
John Preston 51c1dc20e1 Unregister randomId if send message fails. 2019-09-09 11:13:41 +03:00
John Preston ac8f924909 Show tdesktop cloud themes in a box. 2019-09-06 19:31:06 +03:00
John Preston 470b67f557 Refresh file reference from scheduled messages. 2019-08-30 15:42:01 +03:00
John Preston 405ccb8580 Add editing of AddedByPhone privacy. 2019-08-29 11:44:03 +03:00
John Preston 03cdddfe18 Allow sending scheduled messages. 2019-08-27 19:10:37 +03:00
John Preston caef7dde24 Bundle silent and scheduled to Api::SendOptions. 2019-08-27 19:10:37 +03:00
John Preston 549789bfb7 Update API scheme to layer 105. 2019-08-27 19:10:37 +03:00