Commit Graph

4739 Commits

Author SHA1 Message Date
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
Andrea Cavalli
510aec55de Merge commit '83c9f5180bf9738df2667841ed0c4df9ebeaec40'
Conflicts:
	td/telegram/MessagesManager.cpp
2020-08-31 11:51:02 +02:00
levlam
83c9f5180b Fix folders creation during logging out.
GitOrigin-RevId: cc3b2cfbdea61fb11a692a090ddee3aa63f4b9c8
2020-08-29 12:51:42 +03:00
levlam
2f338e7eb2 Silence clang unused-command-line-argument warning.
GitOrigin-RevId: 7a86c27b1e61ee85a138ceceaffff5bed224a28b
2020-08-29 03:10:38 +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
1a81391489 Update README.md 2020-08-28 20:19:44 +02:00
Andrea Cavalli
33c250f884 Added TTL options to keep the access hashes of recent chats. 2020-08-28 19:46:35 +02:00
levlam
bfa807fa41 Remove explicitly required Java version, because CMake fails to handle it correctly.
GitOrigin-RevId: 1501a532311feafdf43a6812efea7ca4308c7b30
2020-08-28 16:00:55 +03:00
levlam
3d8d4bcf1c Fix warning.
GitOrigin-RevId: 033adb463f56b8135180dd22d4c48e82b967fe39
2020-08-28 14:53:22 +03: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
dfd01bf87b Fix from_id check in TQueue.
GitOrigin-RevId: ad52ed5183780b806dcd994bb1a33e67ba508635
2020-08-26 21:36:29 +03:00
levlam
e04232559a Add debug for queries sent to DelayDispatcher.
GitOrigin-RevId: 939fe59213774ba7cc91b00a86e614c29b189533
2020-08-26 12:41:15 +03:00
levlam
0e327efc7c Do not cancel already cancelled download/upload queries.
GitOrigin-RevId: 7a601fa4370a9afd6f81271abfb63edab4f31394
2020-08-26 12:33:48 +03:00
levlam
3b4d55233c Improve protected parts calculation.
GitOrigin-RevId: f066b0680a11b6c376eead756f9d67880eb6d17e
2020-08-26 12:24:06 +03:00
levlam
e8c630180f Fix archive chat count initialization in case there are known pinned chats.
GitOrigin-RevId: b95da9e2c92116fd6b3b1615e579d335b2a41920
2020-08-26 01:09:13 +03:00
levlam
093ba9c9d4 Change offset and limit simultaneously.
GitOrigin-RevId: eb07ec70a9048c4b5a5a5e0f1e17431b8528e6de
2020-08-25 18:58:37 +03:00
levlam
3cc97684ec Fix tdweb build.
GitOrigin-RevId: 3609f3fa52030a242d0587d2ca6f584417af247b
2020-08-25 16:32:22 +03:00
Andrea Cavalli
496281f4ca Fix includes on mac osx 2020-08-23 21:45:48 +02:00
Andrea Cavalli
9a9f80f36f Fixed memory signals in mac osx 2020-08-23 21:29:15 +02:00
Andrea Cavalli
7e39029811 Fixed memory mapping incompatibility 2020-08-23 21:17:32 +02:00
Andrea Cavalli
46e6eac1bf Fixed missing endif 2020-08-23 18:46:29 +02:00
Andrea Cavalli
066d664c64 Support skipping non-essential parts of the build 2020-08-23 17:33:49 +02:00
Arseny Smirnov
51ff6105cb FileLoader: fix queries cancelling
GitOrigin-RevId: 8350a262e0c51563e987e66e77ba1922bb2f5a4d
2020-08-21 16:32:31 +03:00
Arseny Smirnov
e3fa28d457 PartsManager: fix wrong FILE_DOWLOAD_LIMIT error
GitOrigin-RevId: 89a22ae3a494c66dcb0a19abf0cd243e3ffc1875
2020-08-21 15:54:18 +03:00
Arseny Smirnov
4f41cfcbff FileLoader: smarter cancelling of queries when offset changes
GitOrigin-RevId: 2131d416eda29d93d85e8d655964c0a92cdfaf57
2020-08-21 15:53:11 +03:00
levlam
2c4953386a Optimize logging of const strings.
GitOrigin-RevId: af8de902d07c4862a77e0d8050db47ee1ccacbf6
2020-08-20 22:28:00 +03:00
levlam
3fdf575fb3 Disable updateChatLastMessage for bots, because they don't have chat list and message history.
GitOrigin-RevId: e1cdedd63da4c1c6e8c4b5d355855e55a24a3e47
2020-08-20 20:36:27 +03:00
Andrea Cavalli
8c0ce47f61 Merge commit '3a626f6df2003e4cd834477de65dc900f074adda' 2020-08-20 15:31:08 +02:00
levlam
3a626f6df2 Silence clang warning.
GitOrigin-RevId: 36b916f6f26a2802b800360e1194e04983a9a852
2020-08-20 11:44:56 +03:00
levlam
9344a320ea Move logging from WARNING to INFO.
GitOrigin-RevId: 4ca636fa82557dfaf79edd1c1668b744eadac1bb
2020-08-20 11:03:42 +03:00
levlam
4ea6515cae Keep view counter for forwarded to a non-channel chat scheduled messages.
GitOrigin-RevId: 5a7b4c8237a6d07133fac8d6a533576a3af567f7
2020-08-20 00:47:00 +03:00
levlam
29b44b28d4 Copy message view count if message is forwarded not to a channel.
GitOrigin-RevId: f0c555b1123841eb1af84e16b183349712af69d2
2020-08-20 00:00:42 +03:00
levlam
a2e7a0b12d Support receiving silent messages in secret chats.
GitOrigin-RevId: 59df982a7ac96c5490eb90ef8def522ac3a47b53
2020-08-19 18:15:40 +03:00
5523d0f68f Fixed support for windows 2020-08-19 15:38:39 +02:00
levlam
7399f08426 Remove expected error logging.
GitOrigin-RevId: 42182c536714471990ec89fea64b59074d0e8ce1
2020-08-19 15:33:51 +03:00
levlam
732902a00f Remove expected error logging.
GitOrigin-RevId: 8f2df5d7cfe0594e8648ccfa56ef0cee06178292
2020-08-19 13:04:22 +03:00
levlam
afc1d789de Fix chat photo deletion.
GitOrigin-RevId: c332a9580fbe5b9c8cd670a848f27c1eab05f126
2020-08-18 21:55:38 +03:00
Arseny Smirnov
89fad4fdb9 Session::PriorityQueue: minor simplification
GitOrigin-RevId: f0baab28bb95afef247e4ad0c291222be6d105c5
2020-08-18 18:37:10 +03:00
Arseny Smirnov
c1252ad929 Remove copy-paste
GitOrigin-RevId: 991db7c79885c44d71095c83fd75311db66b5305
2020-08-18 18:29:45 +03:00
Arseny Smirnov
e5b6d7b975 SecretChatActor: fix resending of messages after restart
GitOrigin-RevId: 84476393d7d2f5e2ce26229a3cade4ec842050b0
2020-08-18 18:24:53 +03:00