Commit Graph

3815 Commits

Author SHA1 Message Date
Andrea Cavalli
b922e14de5 Merge commit '6d23ea4aa90d6a9815138efb832d45ee91cb984d'
Conflicts:
	td/telegram/files/FileManager.cpp
2020-10-01 11:52:14 +02:00
Andrea Cavalli
503488a801 Merge commit '4d47247fc135d63ec13b7521c74460bfda03e557' 2020-10-01 11:46:07 +02:00
Andrea Cavalli
24ee424c91 Merge commit '3aee3527511ce43ae670081f3f65a71e7c92ee2c'
Conflicts:
	td/telegram/MessagesDb.cpp
2020-10-01 11:42:54 +02:00
levlam
6d23ea4aa9 Do not change download order after file merge.
GitOrigin-RevId: cb1327b7b78cd42cd873040acca328ed00dddb2b
2020-09-11 18:57:49 +03:00
levlam
f9a7917eff Simplify is_acceptable_dialog usage.
GitOrigin-RevId: 0914cd24bb8c1a2cc878692a0f157d17dab667dd
2020-09-11 17:56:17 +03:00
levlam
7df0c5084a Fix updateShortMessage handling.
GitOrigin-RevId: 35c667af5646654ed9f8495774043adb10b12faf
2020-09-11 17:51:01 +03:00
levlam
cd3bf3618b Show comment button only if the linked channel is still the same.
GitOrigin-RevId: cc8f31a56e0de7ace7f8b1a756dd34e14e4a5457
2020-09-11 14:51:13 +03:00
levlam
01f3eecd85 Add support for is_anonymous administrator right.
GitOrigin-RevId: d0d46d961aebcc67275bb09ec883f6feaa465c63
2020-09-11 01:49:15 +03:00
levlam
2c0a9367ac Simplify adding dialog dependencies.
GitOrigin-RevId: 27c9fcc1221e60960f0183e9d792121ca5e8fb0a
2020-09-10 23:24:33 +03:00
levlam
eb72b64c80 Add reply_in_dialog_id and message_thread_id support.
GitOrigin-RevId: 4b8a21566fbf6d31a6f4ef2b19f787361e2d1a1a
2020-09-10 16:29:10 +03:00
levlam
643371aa2f Check message reply header in updates.
GitOrigin-RevId: bb71f4cf73f104b6d2f9da18305007336b9397bf
2020-09-10 16:28:25 +03:00
levlam
aa6c746e8d Add MessagesManager::fix_server_reply_to_message_id.
GitOrigin-RevId: cafb49b6885fc992ff4867a254771a1fa9a6084b
2020-09-10 14:54:34 +03:00
levlam
220ad5352b Allow write access to linked supergroups.
GitOrigin-RevId: 05008f9e07dc1d0759235431d999d59f50d7e820
2020-09-09 03:40:17 +03:00
levlam
4d47247fc1 Support chats as recent repliers.
GitOrigin-RevId: 6da36600e99c655f4484f09fc787382481a3148b
2020-09-09 02:32:07 +03:00
levlam
f05b8cec61 Update layer 119. Add sender_chat_id.
GitOrigin-RevId: ac837165b7bbd57631456291503e688339e04d03
2020-09-08 22:08:10 +03:00
levlam
0540ae7b60 Add min_date/max_date to searchMessages.
GitOrigin-RevId: a340969e431dd2de018461f3904da6569a91b166
2020-09-08 14:58:02 +03:00
levlam
1a6ca88777 Support search within message thread.
GitOrigin-RevId: 8ea2ac97000527d743b5a983eed57c3dd206b76c
2020-09-08 14:17:56 +03:00
levlam
3aee352751 Add MessageReplyInfo.{cpp,h}.
GitOrigin-RevId: 0f5b18fdbaac549d4c5a963b067056824d373c4e
2020-09-07 14:07:40 +03:00
Andrea Cavalli
cd2b97aac2 Fix windows build 2020-09-05 17:33:01 +02:00
Andrea Cavalli
8dfeb82bc9 Update Client.cpp 2020-09-05 14:11:29 +02:00
levlam
4655be3052 Improve documentation.
GitOrigin-RevId: eae53b31c03f9d9f97f7c511b2eed5ea2f79d7f9
2020-09-02 14:47:55 +03:00
Andrea Cavalli
7a99da836d Update Client.cpp 2020-09-02 11:15:33 +02:00
Andrea Cavalli
5ae1a9dcda Fix client unusual waits 2020-09-02 02:14:57 +02:00
Andrea Cavalli
d985f02790 Removed debug from client.cpp 2020-09-02 01:57:13 +02:00
Andrea Cavalli
a01b7bebd9 Fixed queues wait choice 2020-09-02 01:54:55 +02:00
Andrea Cavalli
2ee1930f65 Replaced checks abort() with death handlers 2020-09-02 01:11:38 +02:00
Andrea Cavalli
5f188a293a Update Client.cpp and cli.cpp 2020-09-01 22:52:32 +02:00
Andrea Cavalli
5a2ee4d91b Added death handler 2020-09-01 21:32:58 +02:00
Andrea Cavalli
4ae4e88148 Typo 2020-09-01 17:44:32 +02:00
Andrea Cavalli
55f049f168 Update Client.cpp 2020-09-01 16:52:11 +02:00
Andrea Cavalli
8c876f4819 Update Client.cpp 2020-09-01 16:27:07 +02:00
Andrea Cavalli
04c7218609 Fix parentheses 2020-08-31 19:27:43 +02:00
Andrea Cavalli
ffea9135e8 Fix responses queue 2020-08-31 19:19:04 +02:00
Andrea Cavalli
6e10e6f012 Use the right queue for each response type 2020-08-31 17:42:43 +02:00
Andrea Cavalli
c04e7bcd47 Added optional separation between updates queue and responses queue 2020-08-31 15:04:53 +02:00
levlam
ed782145bf Add reply_count and recent_replier_user_ids to MessageIntercationInfo.
GitOrigin-RevId: 48bae463c091d3d29e3096ebb4c2fbbbeda38dfd
2020-08-31 13:42:27 +03:00
Andrea Cavalli
510aec55de Merge commit '83c9f5180bf9738df2667841ed0c4df9ebeaec40'
Conflicts:
	td/telegram/MessagesManager.cpp
2020-08-31 11:51:02 +02:00
levlam
b90e1bbeaf Update layer to 119.
GitOrigin-RevId: fdec9a689414746baf67cc15ec279e2516c2765a
2020-08-30 22:12:43 +03:00
levlam
83c9f5180b Fix folders creation during logging out.
GitOrigin-RevId: cc3b2cfbdea61fb11a692a090ddee3aa63f4b9c8
2020-08-29 12:51:42 +03:00
levlam
441b520a5e Add some debug logging.
GitOrigin-RevId: 633f8b46b571123275ed345a062c9fe2f4091640
2020-08-29 03:05:15 +03:00
levlam
bc94db66d0 Improve logging in MessagesManager::set_dialog_order.
GitOrigin-RevId: 6509408a28ed063ecc4d9d48b0dedfeb1d854e7f
2020-08-29 01:56:47 +03:00
Andrea Cavalli
33c250f884 Added TTL options to keep the access hashes of recent chats. 2020-08-28 19:46:35 +02:00
levlam
a55fd22716 Improve documentation.
GitOrigin-RevId: efa13b9ceb5200a6f41af9386093e03c36c02e58
2020-08-28 14:26:06 +03:00
levlam
32fc05ab70 Add updateOption with "version" to getCurrentState response before initialization.
GitOrigin-RevId: 0e3221e2a78dacc21850b7f64e15b0c0e1efc297
2020-08-27 15:52:32 +03:00
levlam
54463951da Improve documentation.
GitOrigin-RevId: b99175b7365b91c43559dd67bc240481f341fa6e
2020-08-27 15:51:23 +03:00
levlam
54cd0a9830 Remove unused YieldType::Ttl.
GitOrigin-RevId: 6a079309e0ffc624379d6bd523c34a8f98e6bb17
2020-08-27 01:52:59 +03:00
levlam
2009d58f6a Deprecate ActorShared with 0 token.
GitOrigin-RevId: 15dc5e63afa4c0d08f911101eaa78513df6aebc5
2020-08-27 01:27:34 +03:00
levlam
b8419b7832 Wait DelayDispatcher closing before FileLoader closing.
GitOrigin-RevId: c2e4762be2512b1b4ed17b915c6ed2ef480bfdf4
2020-08-27 00:52:01 +03:00
levlam
cb46b63724 Improve updateConnectionState description.
GitOrigin-RevId: 1a39489de2f11f99b5276223b49f005ac49d4ee2
2020-08-26 22:33:49 +03:00
levlam
e04232559a Add debug for queries sent to DelayDispatcher.
GitOrigin-RevId: 939fe59213774ba7cc91b00a86e614c29b189533
2020-08-26 12:41:15 +03:00