Commit Graph

3737 Commits

Author SHA1 Message Date
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
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
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
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
f266aa3912 Minor fixes.
GitOrigin-RevId: a4aacfa1ecab2718475d32bcbd99f9671ba7e982
2020-08-14 22:51:10 +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
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
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
0e4e1268ac Session: more aggressive debug for mtproto rpc errors
GitOrigin-RevId: efe1b894349d6542c4483a1f72c555bd29ddebd6
2020-08-12 16:56:06 +03:00
Arseny Smirnov
2add7947b7 ConfigRecoverer::Session: bugfix of closing
GitOrigin-RevId: 35493c586011974f81b2a4ef84cd2b1c4d1581a5
2020-08-12 11:34:12 +03:00
Arseny Smirnov
1d56a371cd ConfigManager: minor refactoring for hangup_shared
GitOrigin-RevId: 56af208cbe2e32120fa286b9e19fce58beaf8c9b
2020-08-11 16:31:50 +03:00
levlam
6a30258d39 Add reply_markup to copy options.
GitOrigin-RevId: 94c83ee8fba2a13acde5114f1efee9fb2c6080da
2020-08-11 11:52:38 +03:00
levlam
8fb53c6ec2 Allow to replace caption when message is copied.
GitOrigin-RevId: 6e190830d66916de2deb0b371185b7db6ea42b00
2020-08-11 10:35:19 +03:00
levlam
301d0577ba Add td_api::sendCallSignalingData.
GitOrigin-RevId: d14899cd97fb46d472bcb48fd4b51f568e995608
2020-08-10 11:34:28 +03:00
levlam
cdf6acac32 Add updateNewCallSignalingData.
GitOrigin-RevId: ce458fb7ed05fd202f255e348c009dad248018ab
2020-08-10 10:38:24 +03:00
levlam
1bb853a3ef Fix error logging condition.
GitOrigin-RevId: 97d494c0eeb53fc86f875e88584b4da95aee57c0
2020-08-10 09:35:30 +03:00
levlam
de8d92bead Add MessagesManager::set_dialog_unread_mention_count.
GitOrigin-RevId: 3f4874fd25886c502f69a187426730c1b9a0c90b
2020-08-10 09:19:08 +03:00
levlam
12a79efbdc Improve log messages.
GitOrigin-RevId: 23d2e596dd9ce28d780fe125abd468fef132c61b
2020-08-10 08:07:01 +03:00
levlam
16c02c6b25 Rename sendMessageOptions to messageSendOptions.
GitOrigin-RevId: 70270e56ad61e21ad22f207adce6c27c2873f374
2020-08-09 15:14:30 +03:00
levlam
a404948707 Add MessageCopyOptions.
GitOrigin-RevId: a61b93c3c215c42c9a7f30195cc637187472751e
2020-08-09 14:18:08 +03:00
levlam
983119ada3 Unify begin/end usages.
GitOrigin-RevId: 422dd5dbfdab7240818bbc35a7c554effa097378
2020-08-09 04:01:30 +03:00
levlam
b1adbcba05 Suppress warning about changed chat order when last message is not saved to database.
GitOrigin-RevId: 23ee4bc68a3070fc3b9ed8edd24ece13a81a9a8a
2020-08-08 23:00:51 +03:00
levlam
3fb0bdff15 tg_cli: fix OpenSSL initialization.
GitOrigin-RevId: 388f70155c7f3a1f5276886c1cb38131dd302adc
2020-08-08 21:56:34 +03:00
levlam
62c08e7f0a Handle video call push notifications.
GitOrigin-RevId: 680b4961aacd1714b0aa8d3ba60b04d7f5e6fea6
2020-08-06 21:29:40 +03:00
levlam
008fc6e101 Rename Client::destroy to close.
GitOrigin-RevId: 9780492da143c2a79877ea8ff0868a9a232d9844
2020-08-06 21:28:44 +03:00
levlam
c4ca04a17d Move expected logging to INFO.
GitOrigin-RevId: 4e12878c5390f6634f3a2cc6b8de5b9c3de50012
2020-08-06 20:37:19 +03:00
levlam
95ac56215b Add call.is_video flags to td_api.
GitOrigin-RevId: cba87e4aeeb32ac177dd69416592193056c2f8b1
2020-08-05 22:10:33 +03:00
levlam
b340b0deaa Update layer 116. Add UserFull.supports_video_calls flag.
GitOrigin-RevId: 67aa9a84ed676e3969beb1c5a01a012167744c6d
2020-08-05 21:34:04 +03:00
levlam
c5059bcac3 Minor fixes.
GitOrigin-RevId: 28f8cabca2f70ba692f8713ec68866495061b31a
2020-08-05 20:36:13 +03:00
Arseny Smirnov
c489d7187e ConnectionCreator: relax flood limits for errors during creation of a connection
GitOrigin-RevId: e92d62461e0b3eeab77f1b92ef8c99d630bf3b74
2020-08-05 20:07:28 +03:00
Arseny Smirnov
3fb9b8a992 td: relax limits for connection creation during logout
GitOrigin-RevId: 2c7e81d931a36cecaaf8dd1b463365d3e039873f
2020-08-05 19:49:34 +03:00
Arseny Smirnov
71867f372d SessionProxy: ignore redundant update_destroy calls
GitOrigin-RevId: 748222a69a8808d150296d2ee8298598d98a1de6
2020-08-05 16:11:10 +03:00
levlam
8ac59dc77d Improve update output to log.
GitOrigin-RevId: 7d61ef046b867a4f1c72f548deb93e208830edfd
2020-08-05 00:13:18 +03:00
levlam
1b628d3ab7 Make NetQuery::tl_magic private.
GitOrigin-RevId: 06b9d496cea9fb9088e4514949573697d7a14231
2020-08-04 02:24:12 +03:00
levlam
0396d2dfff Silence expected error logging.
GitOrigin-RevId: 7d8e66bac8f5b2bb40aa50d7fd7f01f0ff1eeb35
2020-08-04 02:21:20 +03:00
levlam
fbca30b2b4 Remove string copy in NetQuery::debug.
GitOrigin-RevId: d559507fe2c52a865a3402d755644650d4833637
2020-08-03 23:20:26 +03:00
levlam
4bf3b013c7 Add updateChannelParticipant processing.
GitOrigin-RevId: 5701dcbb068583266aaf00b3b4ed5c6336566e76
2020-08-03 21:54:28 +03:00
levlam
57f1ab4daf Add DialogParticipant::left.
GitOrigin-RevId: a3c111f702cf6579d22a2a17d806c772795c676d
2020-08-03 21:16:08 +03:00
levlam
790267119d Fix applying of pending qts updates after getDifference.
GitOrigin-RevId: b8cd1cadc19c8d8be01936def2b8c98523b261dc
2020-08-03 17:37:08 +03:00
levlam
e9d3b4881e Support gaps in qts updates.
GitOrigin-RevId: afcae4aa4ac456f5b8d8b2e46b92126a606bdca9
2020-08-03 16:57:30 +03:00
levlam
3be95dd6e8 Apply telegram_api::updateEncryption before other updates.
GitOrigin-RevId: 1a03b2141630a0c432ca2bef92b457da08d2e1a5
2020-08-03 01:51:57 +03:00
levlam
20734a565b Make two Td methods private.
GitOrigin-RevId: 7734403e23cdc9e9c7e7b50ba8c41799efc02945
2020-08-02 23:03:06 +03:00
levlam
51be272f44 Remove Td::force_get_difference.
GitOrigin-RevId: 7459df4d6efcb21789cb19a4ba04c90d47ecf353
2020-08-02 22:41:09 +03:00
levlam
c44cd3415c Move QtsManager to UpdatesManager.
GitOrigin-RevId: 792faddd71cb3f9c07a4fd915ca782bfe2606ac3
2020-08-02 22:07:22 +03:00
levlam
6bc45e1c2e Save empty pinned chats list after it is received first time.
GitOrigin-RevId: 32559feeaa60e4d30387b3227a8990b625944137
2020-08-02 03:56:45 +03:00
levlam
5285a02cf8 Remove some logging in tests.
GitOrigin-RevId: 35194c43063ec1b65d67b3d58157ab77d7819691
2020-08-02 01:40:48 +03:00
levlam
f1a23b9256 Remove qts from logevent::InboundSecretMessage.
GitOrigin-RevId: ae90e87e3bd0291e78c56cfea161724882d76f1d
2020-08-02 01:21:43 +03:00
levlam
0ac58f7494 Fix some includes.
GitOrigin-RevId: 5ce2e3dd3172ff92fa9400d10f0c6ec4b7f46e6e
2020-08-01 21:57:03 +03:00
Arseny Smirnov
5a08290ae0 Session: use MAX_INFLIGHT_QUERIES to limit count of simultaneously sent queries
GitOrigin-RevId: c9c64de982c099b95c6c4bd31d28369f4315f81b
2020-07-31 20:19:18 +03:00
Arseny Smirnov
bbea867145 TsList: make lock non-static again
GitOrigin-RevId: 7df7dee8bf609f928b351b448c9e132fb2118942
2020-07-31 16:07:07 +03:00
levlam
19507a7f7a Decrease sticker set cache time.
GitOrigin-RevId: dec22463f0411888a6e2a3eddc95ab1a6ccf3b0d
2020-07-30 23:49:46 +03:00
levlam
871fe2210d Major new Client fixes.
GitOrigin-RevId: 34c263a4adb3c312328530e1382108d98e9048a3
2020-07-30 23:39:10 +03:00
levlam
9ab0880680 Various improvements.
GitOrigin-RevId: 7648a2536a315335c0d258f07de7269ac7a67fb0
2020-07-30 22:59:23 +03:00
levlam
c055ec15f9 Various improvements.
GitOrigin-RevId: 4eb8b7e43d10f1b5657f40aa2b7eef1c93429ca7
2020-07-30 22:59:23 +03:00
Arseny Smirnov
4635b7b791 MuliClient: quick fix of TdReceiver
GitOrigin-RevId: feae0c3caffb5ebb4ef0402dbb7e2f3a15e714be
2020-07-30 17:38:36 +03:00
Arseny Smirnov
cacabaf6d1 NetQueryStats
GitOrigin-RevId: 5a04b322e12e2838b1d7f812fcf06bff4eefbace
2020-07-30 17:28:56 +03:00
Arseny Smirnov
d7eadd77c1 NetQueryCounter: simplify
GitOrigin-RevId: f9d7cbf9c939bfc46b8a02b18a74264ad8827509
2020-07-30 14:23:53 +03:00
levlam
e4ee1b7ce1 Minor new Client fixes.
GitOrigin-RevId: f7c455192f5d35a8cbf6271522202bfbff867698
2020-07-30 04:04:57 +03:00
Arseny Smirnov
b1222a9bb7 MultiClient: draft
GitOrigin-RevId: 4d1bdd6ad99909ce7ad94cfd32a43262051a6d18
2020-07-29 16:49:35 +03:00
levlam
2e0d642a98 Update layer 116. Support new apply_min_photo and can_view_stats flags.
GitOrigin-RevId: beb72d22576496ac082bf4a564c292f9a678b0c1
2020-07-28 02:57:23 +03:00
Arseny Smirnov
166682865a DialogDb, MessageDb, MessagesManager: abort if an error happens during a transaction
GitOrigin-RevId: 63751130e05ed6d37928646c9a89ff35166e78e8
2020-07-27 18:03:22 +03:00
levlam
41cac3edba Fix AnimationSize parsing.
GitOrigin-RevId: 20806eb8cf947ffaaf9b0100ec7d9a8e03353535
2020-07-27 17:52:21 +03:00
levlam
ba1c2781d8 Save correct config expire time, but still reget config on every restart.
GitOrigin-RevId: 6aa14c424b159def6ca0ebc9dad0ddbe13010854
2020-07-26 15:41:32 +03:00
levlam
48a219041a Increase version to 1.6.7.
GitOrigin-RevId: 76ac2eba8225ab2ae81ffc9b81cb7ebc305d5b42
2020-07-26 14:26:14 +03:00
levlam
b45f8ba3a0 Minor fixes.
GitOrigin-RevId: b7985efd4257bc9bb2b2672f94c5f5671e19dd0f
2020-07-26 14:24:30 +03:00
Arseny Smirnov
66cc19375a Fix 'Initialize TsList mutex before any TsList.'
GitOrigin-RevId: 44030e72b96f2c01726d207cf9effb3953df4c72
2020-07-24 11:20:53 +03:00
levlam
c18a2474c6 Initialize TsList mutex before any TsList.
GitOrigin-RevId: 598e90b812e538288b3c2d60195cce68235d89a6
2020-07-23 21:07:19 +03:00
Arseny Smirnov
c4921adcad Gzip: more tests (with watermark and memory limit)
GitOrigin-RevId: b8eacf5a27d646b9265d2fe43b847888ad58f5af
2020-07-23 16:39:13 +03:00
levlam
db628a8c9e Increase mas file size limit.
GitOrigin-RevId: d10bb8abe7c70a2c94b0edc6f6d1fb08e49c7267
2020-07-23 01:59:28 +03:00
levlam
cc28bdeae3 Fix "log out" spelling.
GitOrigin-RevId: e943fa4531d4d15043f762883eb8b77d9c58365d
2020-07-23 00:19:47 +03:00
levlam
fcd09d5c25 Fix error logging.
GitOrigin-RevId: d734897ab870154d47a3e576ba3cba8eb4d3156e
2020-07-22 21:28:20 +03:00
Arseny Smirnov
9ea1bc824f ByteFlow: backpressure draft
GitOrigin-RevId: 09adce82dd88fcf84f41e525e45b07da03acc0f6
2020-07-22 21:52:00 +03:00
levlam
50da604d65 Improve log formatting.
GitOrigin-RevId: f9b1c0ac431744c3e31a41d3db8823860f1921a1
2020-07-22 16:58:26 +03:00
Arseny Smirnov
38ef3a75cc PollableFd: explicit sync_with_poll
GitOrigin-RevId: 71fa35a594816e84e372ebcfa9d0077a13f26a62
2020-07-21 18:29:39 +03:00
levlam
ceb49d0143 Simplify parser.start_with usage.
GitOrigin-RevId: 465e51bba514259ebe15976d2612e1a46754a841
2020-07-21 14:24:55 +03:00
levlam
23534d218f Use static mutext in TsList.
GitOrigin-RevId: 00bd863b3d5499d463e838771fe5e4bc9b16a31e
2020-07-21 02:05:15 +03:00
levlam
e7ebc22929 Remove FE0F from MessageDice emoji.
GitOrigin-RevId: b0eab642499ade40a17d9f5f475c73c7de71724e
2020-07-21 01:35:35 +03:00
levlam
f32d92d374 Add "gplaces" venue provider to the documentation.
GitOrigin-RevId: 031f7255824511d6f27e51101e6bbc799439de70
2020-07-20 21:26:52 +03:00
levlam
e34377cbcb Update photo cache after changing profile photo.
GitOrigin-RevId: cb48443fe0dd988e1d6eee40f72a8f12d6a5cefa
2020-07-20 21:10:40 +03:00
levlam
405934676e Change file_id type in as_profile_photo.
GitOrigin-RevId: fe45d895b4781c942512d5c838d99449431440d3
2020-07-20 17:46:54 +03:00
levlam
a01ad861bd Optionally send updates when deleting profile photo.
GitOrigin-RevId: bb916c244857b4f6838d7ae7108415ad4ec3a2a1
2020-07-20 17:23:32 +03:00
levlam
6b00f2fe6b Update cache after profile photo deletion instead of dropping it.
GitOrigin-RevId: 0bb120eeececb7706016aec01accd4f6194deef4
2020-07-20 17:05:49 +03:00
levlam
1984159963 Add old_photo_id to on_change_profile_photo.
GitOrigin-RevId: 28dd86b402d71af595b1ace467791c0896dbad2a
2020-07-20 01:53:40 +03:00
levlam
f8b6d7340e Fix thumbnail format copy.
GitOrigin-RevId: 0b2a91ed524ce652c871f5d508f4a38ea36468f5
2020-07-20 01:02:41 +03:00
levlam
5b69e72b09 Update layer 116.
GitOrigin-RevId: 2daddadb7c75132729e8372a7edf40030696d038
2020-07-20 00:38:44 +03:00