Commit Graph

4815 Commits

Author SHA1 Message Date
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
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
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
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
levlam
3de679b560 Fix MessageEntity::get_type_priority.
GitOrigin-RevId: 175f6e2f1f97e87309add8314321934d744b0493
2020-08-18 11:05:10 +03:00
levlam
73554fcfa5 Improve README.
GitOrigin-RevId: 77d85ac9661d927031bd5f8b8604c2e02c5b5ddb
2020-08-18 09:51:18 +03:00
levlam
335ac34fad Fix Session::PriorityQueue.
GitOrigin-RevId: adfab64ecf7eae2c73759c7e6f927b88f4fd2236
2020-08-17 17:35:34 +03:00
levlam
641485502e Remove copy-paste.
GitOrigin-RevId: cfac1de1eb79634dd846e852ae4b7ac83e126374
2020-08-17 17:35:15 +03:00
levlam
cb4291d803 Remove unneeded updateAuthorizationState updates.
GitOrigin-RevId: 8369fce80f0d67317a836fcc5fbe02f618c6aa99
2020-08-17 17:04:45 +03:00
Arseny Smirnov
1f9529520f NetQuery: support priority
GitOrigin-RevId: 84290ffa7689364f74140c5b951b95ea4792b68d
2020-08-17 16:13:18 +03:00
Arseny Smirnov
94b78114e0 tdactor: safe inheritance of tag_ in contexts
GitOrigin-RevId: db55e11f150be00560906a3f66510dbcfa6b347c
2020-08-17 14:50:47 +03:00
levlam
dfb3e124b8 Minor.
GitOrigin-RevId: 47042cd58afacf0470e0ee60c48ece88ae5f7485
2020-08-17 14:40:22 +03:00
Arseny Smirnov
ce80dd77f0 Actors: safer tag_ in context
GitOrigin-RevId: 9f9ef2a024e0bcfb0e5aed76a23174f1faad3b5a
2020-08-17 13:57:05 +03:00
levlam
f0d1afcb7a Fix binlog closing.
GitOrigin-RevId: 3dc04b07a2d7c72e8f99f360c6b8f02cb74ce931
2020-08-16 16:48:20 +03:00
levlam
3282a873cb Increase version to 1.6.8.
GitOrigin-RevId: c98b172820d18227ef493812bfd20918434c5929
2020-08-16 10:42:58 +03:00
levlam
62b0582bec Update layer to 117. Support WebRTC call servers.
GitOrigin-RevId: 0db2aa89165760b8588a4ebd1c7cb77451e7c6d6
2020-08-10 18:37:03 +03:00
levlam
2277557f52 Do not try to get promo data before authorization.
GitOrigin-RevId: 404e4fad3802c37fb05df68d05035b9903f2eb33
2020-08-16 10:17:46 +03:00
levlam
3175e6680f More uses of td in AuthManager.
GitOrigin-RevId: 5b5427ec16f93b309cebdb2115473b38d2d3dab4
2020-08-16 10:17:17 +03:00
levlam
e0caa301a5 TQueue: fix adding already expired events.
GitOrigin-RevId: b78748cd001d9439c9e215b378b76b973a77a79a
2020-08-16 02:57:31 +03:00
levlam
f266aa3912 Minor fixes.
GitOrigin-RevId: a4aacfa1ecab2718475d32bcbd99f9671ba7e982
2020-08-14 22:51:10 +03:00
Arseny Smirnov
9c40e37288 Clocks: use CLOCK_[BOOTTIME,MONOTONIC_RAW] for Clocks::monotonic
GitOrigin-RevId: 729311e1a7a36a9245ecdb5921b81c4834ec1dc6
2020-08-14 20:41:00 +03:00
levlam
129e673769 Minor.
GitOrigin-RevId: 17528428dd1741527565d1b2bc012928d3f24c80
2020-08-14 19:53:26 +03:00
levlam
be299897c3 Do not copy message counter to forwarded messages.
GitOrigin-RevId: 864ca542b5b63ce87bc04575429f21f418e7ccfe
2020-08-14 17:31:23 +03:00
Arseny Smirnov
775ef44ed8 Clocks: use CLOCK_[UPTIME|UPTIME_RAW|BOOTIME] when possible for Clocks::monotonic
GitOrigin-RevId: d0aeb9d98d54b298093cba3b2ca97c6ab16eba28
2020-08-14 19:51:45 +03:00
Arseny Smirnov
28596f1a3f TdDb: reuse derived sqlcipher version
GitOrigin-RevId: 28a94a5dee34f47850deb5cf1ca41e92e24bf648
2020-08-14 17:48:43 +03:00
Arseny Smirnov
45bfb1b384 TdDb: create sqlite db during SqliteDb::change_key
GitOrigin-RevId: bc0bff23a50f17d9111edac6ba4194fbdffaa1b4
2020-08-14 17:11:58 +03:00
Arseny Smirnov
11e09c5699 Sqlcipher: use compatibility mode instead of migration
GitOrigin-RevId: 91fe86328e7fcd2e03e298482ad2ffac2b48767f
2020-08-14 13:44:16 +03:00
levlam
e43f419a6f Patch SQLite ftruncate call only on Android.
GitOrigin-RevId: 930b58281ba5eab7d4f560e56b129d8b043fa455
2020-08-13 22:40:49 +03:00
levlam
9592aac404 Minor improvements.
GitOrigin-RevId: 09fbcc25ade8d77c13dc580f13b206c07ba53f9f
2020-08-13 16:57:28 +03:00
Arseny Smirnov
3b18309e80 FileManager: attempt to close ForceUpoadActor
GitOrigin-RevId: 5c53784b7b49c41347477c2f7808cc2845d12463
2020-08-13 20:04:06 +03:00
Arseny Smirnov
cecea2ba08 Add debug for 'PRAGMA cipher_migrate'
GitOrigin-RevId: 69c9a979ccf27f77d106e6ce7712c6e4a939722c
2020-08-13 19:21:15 +03:00
Arseny Smirnov
d4f0162ee9 Sqlite: fix DB corruption on some Samsung devices
GitOrigin-RevId: bc3e631f6873c0a4a53b8aea2159727fa0d1e956
2020-08-12 22:54:34 +03:00
Arseny Smirnov
0ef5577209 Sqlite: repeat fixes from previous commits
GitOrigin-RevId: 1dce19984342f573aaf106180f3e72a399114b26
2020-08-12 22:49:17 +03:00
Arseny Smirnov
b9de1b94d2 Sqlcipher: automatic migrate
GitOrigin-RevId: 209360f2b40a0d05ec53bb55890518e50c05f34a
2020-08-12 22:36:46 +03:00
Arseny Smirnov
c66a72fe90 Sqlcipher: update version to 4.4.0 (without fixes)
GitOrigin-RevId: ad3039010f1fd047d500df9fd9e388165c38a4ba
2020-08-12 21:09:31 +03:00