levlam
187ebc603c
Make function name unique.
...
GitOrigin-RevId: 2d8e805b36376e2c5f2a5630794ed9797254496c
2020-10-02 13:22:06 +03:00
levlam
86e7186bae
Rename "chat_unload_delay" option and fix its implementation.
...
GitOrigin-RevId: a81de53455816c959986cd3924674600d0086adc
2020-10-02 12:42:16 +03:00
Andrea Cavalli
e0b335bc3e
Option "chat_unload_delay" for bots ( #1219 )
...
* Option "chat_unload_delay"
This option allows to override the default chat unload delay. The allowed range is from 60 to 86400 seconds (1 day)
2020-10-02 12:19:43 +03:00
levlam
771ace5c8d
Minor fixes.
...
GitOrigin-RevId: 7cc15963615dd50f1be3aa37c336214b28f93bb4
2020-10-02 02:17:58 +03:00
Andrea Cavalli
e8e9dc4abf
Merge commit '7d5b47990b4878f6a2a560d8cf064e28d46672ed'
2020-10-01 23:45:32 +02:00
Andrea Cavalli
96cf4f15a4
Merge commit '711b0cfd4f2aa163858b94e97db25d6be4adcfcb'
...
Conflicts:
td/telegram/MessagesManager.cpp
2020-10-01 23:45:02 +02:00
levlam
7d5b47990b
Do not handle errors of messages.getReplies in channels.
...
GitOrigin-RevId: f80a65a578fa4ced3596acc635fa6759feb8e844
2020-10-01 22:57:24 +03:00
levlam
610443fc22
Send updateMessageInteractionInfo after ReplyInfo change, only if reply info is visible.
...
GitOrigin-RevId: ccafd95ce42cfe318a4a9fb096e0580093decf4c
2020-10-01 22:43:13 +03:00
levlam
ca1594c8ec
Update reply info if linked_channel_id is changed.
...
GitOrigin-RevId: 629721095881d2c9a401519d26f75bbbba4446f9
2020-10-01 22:28:54 +03:00
levlam
1169365710
Fix documentation.
...
GitOrigin-RevId: 9c5b310b278d35ae7e408b03f5c52d17247174d9
2020-10-01 19:39:58 +03:00
levlam
ad2f6d8168
Make DialogAction fields private.
...
GitOrigin-RevId: 2d826e7fcf58428dbbf062baddbde01629708475
2020-10-01 19:35:54 +03:00
levlam
8c4a9e7553
Add DialogAction::get_typing_action().
...
GitOrigin-RevId: a2abad1076b6a54135ee945f8f75a0f8b2c04af7
2020-10-01 19:30:07 +03:00
levlam
711b0cfd4f
Introduce DialogAction class.
...
GitOrigin-RevId: f94011c1b70cdc17115bfbb981c6e000110adfbf
2020-10-01 19:28:10 +03:00
levlam
c6cdfb377c
Improve language code processing in searchEmojis.
...
GitOrigin-RevId: 9c5de24f89a1614a2cd058185156678a0b0049c4
2020-10-01 17:21:26 +03:00
Andrea Cavalli
235e766c5d
Typo
2020-10-01 15:28:16 +02:00
Andrea Cavalli
f6d7221e75
Syntax fix
2020-10-01 15:15:49 +02:00
levlam
c332f26352
Introduce messageReplyInfo.
...
GitOrigin-RevId: 10e757b71fde4e29aa81905bfba5fc4ca5523bbb
2020-10-01 16:12:20 +03:00
Andrea Cavalli
41e5ce21ac
Merge commit '3d2067475e0764d4765b41aa372e5c3c10a5af5d'
...
Conflicts:
td/telegram/MessagesManager.cpp
2020-10-01 14:53:43 +02:00
levlam
d66c404f3a
Fix can_get_message_thread flag.
...
GitOrigin-RevId: 4f44e18cecabd3e7f1aff85a91078b3749e76bfc
2020-10-01 15:52:19 +03:00
levlam
6e9108a69d
Disallow message threads in not-linked chats.
...
GitOrigin-RevId: aaf20c0076c3fe2ceb30b65d1f9fef602aa8e51d
2020-10-01 15:47:58 +03:00
Andrea Cavalli
23af91ce0d
Merge commit '7cde6f0adb890300355663f904155570197f8b9d'
2020-10-01 14:37:44 +02:00
levlam
6c63c859c9
Add MessagesManager::get_top_thread_full_message_id.
...
GitOrigin-RevId: 002b7503278a9a84c96b41088b888220498b10f6
2020-10-01 15:25:54 +03:00
levlam
6944b4d435
Pass expected_idalog_id instead of channel_id in GetDiscussionMessageQuery.
...
GitOrigin-RevId: b5e537a49e25c5d342e8dd682cb6ca7e4bfc2686
2020-10-01 14:47:02 +03:00
Andrea Cavalli
c83fc13a60
Merge commit '1d9989cbd700492ffe636385d5578946f62139d9'
...
Conflicts:
td/telegram/ContactsManager.cpp
td/telegram/ContactsManager.h
td/telegram/MessagesDb.cpp
td/telegram/MessagesManager.cpp
2020-10-01 13:22:37 +02:00
Andrea Cavalli
d5fc32937f
Option "dialog_unload_delay"
...
This option allows to override the default dialog unload delay. The allowed range is from 0 to 86400 seconds (1 day). Set to -1 to restore the default behavior
2020-10-01 12:38:42 +02:00
Andrea Cavalli
8255ff5ded
Merge commit 'a6463970b1b6c88d81cd0360446248abb348f1b0'
2020-10-01 11:59:47 +02:00
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
b8f81b2ac0
Fix message_thread_id in td_api::messageThreadInfo.
...
GitOrigin-RevId: f308844f1ea02eab8993df5c660d7cf1242484bc
2020-10-01 12:13:20 +03:00
levlam
30921606c5
Increase version to 1.6.9.
...
GitOrigin-RevId: 55cb12c94aaa4d10362a6429eb92c56b67ed73a0
2020-09-30 22:51:46 +03:00
levlam
da9141a431
Update ContactsManager::have_input_peer_channel.
...
GitOrigin-RevId: ae8fb4a5d3ee7f7c7740382f35ff01a287770b53
2020-09-30 22:40:34 +03:00
levlam
3d3ddf655b
Explicitly convert int64 to double.
...
GitOrigin-RevId: afdf35ee316ebb7e317921d4e4734582203783e3
2020-09-30 22:21:32 +03:00
levlam
f83022c406
Fix warning.
...
GitOrigin-RevId: 0457285fd8f7313917718c01ef801037257e1053
2020-09-30 22:19:46 +03:00
levlam
96c6769353
Fix CE.
...
GitOrigin-RevId: ad60d2d91125f05eef4c20a0ab342447ea997c13
2020-09-30 22:18:01 +03:00
levlam
3eb7714411
Fix ContactsManager::have_input_peer_channel.
...
GitOrigin-RevId: b1b1c702291192a56f8a1ce3675453b84e644356
2020-09-30 21:48:50 +03:00
levlam
3d21c09ca8
Drop pending seq/qts updates after receiving empty difference.
...
GitOrigin-RevId: 2e1e66568a9b565f990a68059729affbae1aa68d
2020-09-30 21:42:32 +03:00
levlam
dd75a08e65
Add comment, why reply_info never dropped.
...
GitOrigin-RevId: 568023da3a41415bf48c7230cd32cb5b46b86cf8
2020-09-30 15:47:42 +03:00
levlam
ffc1dec3d1
Fix misprint.
...
GitOrigin-RevId: 804992332900aa4ebece09a0855414b01e15686d
2020-09-30 14:05:35 +03:00
levlam
476a18630f
Initialize top_thread_message_id when reply_info is changed.
...
GitOrigin-RevId: 1cf186d342468dc9d5f0c2cd9c5052905a102f62
2020-09-30 14:01:40 +03:00
levlam
98524b6748
Improve Message.can_get_message_thread.
...
GitOrigin-RevId: 2f5df56934729c09b52c9324d8bd654570daa3c5
2020-09-30 11:57:52 +03:00
levlam
fcd5fd0eb7
Duplicate per-thread chat actions to the main chat.
...
GitOrigin-RevId: 10fe6e5e44f431409d41526d195b7c9bab2d39a6
2020-09-30 04:59:03 +03:00
levlam
aa180ebed2
Add MessagesManager::send_update_user_chat_action.
...
GitOrigin-RevId: ee85fa091db96aa88abf9aa13e7f2a6609b4e69e
2020-09-30 04:40:30 +03:00
levlam
8afd5a8508
Disable commands highlighting in the chat with the Replies bot.
...
GitOrigin-RevId: 398db6133f1c2f23c4367b240bc35e4c499483c8
2020-09-30 04:32:28 +03:00
levlam
b751acc3ae
Add td_api::getMessageThreadHistory.
...
GitOrigin-RevId: c5aaa396b1fcdd6704302296e407989ff19be0a0
2020-09-30 04:26:39 +03:00
levlam
b2c52ede12
Apply user photo for yet unreceived users.
...
GitOrigin-RevId: 12128a7610733fa614e6d56e3a9d116de09e3251
2020-09-29 23:33:44 +03:00
levlam
22b695515c
Save linked_top_thread_message_id for channel messages.
...
GitOrigin-RevId: fc11105fc3fea044950362efdb94fa1a5de7e5a0
2020-09-29 15:06:08 +03:00
levlam
efb100cc9d
Allow to find messages in a thread in a different dialog.
...
GitOrigin-RevId: 1e874b2bd46408eda12a6d2b8ffe59000c4fe5a5
2020-09-29 13:51:18 +03:00
levlam
7cde6f0adb
Save local thread message ids.
...
GitOrigin-RevId: d0905e9b8ae4d6bed1d25d6ecc6c159d65dc87cd
2020-09-29 00:22:35 +03:00
levlam
ab99fc7a8d
Store yet unsent message IDs separately for different threads.
...
GitOrigin-RevId: f68b88a1ea05dcb3096357328635191cae02edcb
2020-09-28 16:08:35 +03:00
levlam
1d9989cbd7
Add top_thread_message_id column to the database.
...
GitOrigin-RevId: 83cd66038c36236305c7a9ed70df09561e89e190
2020-09-28 15:13:25 +03:00
levlam
e20b6ea9fc
Fix getRepliedMessage.
...
GitOrigin-RevId: 6fa5ba6ea7d880433a5b047c79cb49823cd26313
2020-09-28 14:37:45 +03:00
levlam
fb2cfc1fe3
Rename top_erply_message_id to top_thread_message_id.
...
GitOrigin-RevId: 4642286bdc2dc10073b1ab418b274af16b35c122
2020-09-28 14:01:15 +03:00
levlam
e294921d5f
Improve can_get_message_thread flag.
...
GitOrigin-RevId: 29d2e2870839407b446c435f6a24dc63bc535dbc
2020-09-28 13:55:05 +03:00
levlam
7aff2571f8
Improve getRepliedMessage documentation.
...
GitOrigin-RevId: 6462b028e203ab274523f6c41828137ce26ee09c
2020-09-28 13:22:46 +03:00
levlam
245185d260
Rename flag to can_get_message_thread.
...
GitOrigin-RevId: 7c34bb6f576421a27ed6aa8362075ed20577f743
2020-09-28 13:10:12 +03:00
levlam
0b240298d3
Always set can_be_edited to true in received from app statuses.
...
GitOrigin-RevId: 41fd765dc31498106b7724082cbceca8d51ee264
2020-09-28 01:44:41 +03:00
levlam
cee879803b
Allow anonymous administrators without other rights.
...
GitOrigin-RevId: 9d9276b0950a0cabf15d8148747df5da9a0c3c1d
2020-09-28 01:35:49 +03:00
levlam
605a968e51
Change is_anonymous field position.
...
GitOrigin-RevId: 7676dd1916881f24eba79f5692986b2d213b9a73
2020-09-28 01:15:56 +03:00
levlam
8ab932460a
Fix deletion of all messages from user in the Replies chat.
...
GitOrigin-RevId: ac3ba0cb16d70fbec939558904f04b78a6907498
2020-09-27 15:00:04 +03:00
levlam
2e50410dcc
Allow to disable stderr redirect when logging to file.
...
GitOrigin-RevId: 7b91d362695cd73a640a9ed2a5d107b804536a16
2020-09-27 14:37:35 +03:00
levlam
75aac4dd46
Explicitly capture copied lambda parameters.
...
GitOrigin-RevId: 653e4c6b640a77bb757576d974906a30d0732a4a
2020-09-27 02:20:42 +03:00
levlam
f1dcdc9a49
Fix reply_header for service messages.
...
GitOrigin-RevId: ff9b1a5bcdd557362a34282a66734fa077b6099c
2020-09-27 01:47:16 +03:00
levlam
68229982da
Change need_apply_min_photo only from non-min users.
...
GitOrigin-RevId: c2079f22f63b3717cd049eafcec524a76bbfd8c7
2020-09-25 18:09:17 +03:00
levlam
168675efd2
Embed @replies bot user.
...
GitOrigin-RevId: b515d197c29cf768834faed06fbca28b2fb63001
2020-09-25 18:08:09 +03:00
levlam
d20bf6001f
Hide and show replies when reply markup is changed.
...
GitOrigin-RevId: 2cf53851a4ec8c72b72fffae15d256a7a5bd5761
2020-09-25 16:37:24 +03:00
levlam
6bc70724f2
Embed English list of countries.
...
GitOrigin-RevId: 4a40f72939c2d394d0da772afd0e58e21b9144ab
2020-09-25 15:14:33 +03:00
levlam
cfa202a589
Set my_id synchronously.
...
GitOrigin-RevId: 09c597b0c8cb4fc6bcb56582837c5b85700b6973
2020-09-25 13:15:23 +03:00
levlam
95feb7baa5
Disallow checkAuthenticationBotToken in Ready state.
...
GitOrigin-RevId: 74290424fabe07988d646ee17e831911ffcd1594
2020-09-25 01:11:17 +03:00
levlam
6cb823bbce
Add telegram_service_notifications_chat_id and replise_bot_chat_id read-only options.
...
GitOrigin-RevId: b1fe6a5366bdb1c8c2a4ef06689f0e682fb892d4
2020-09-25 00:53:30 +03:00
levlam
1fe397e43d
Make optionValueInteger value int64.
...
GitOrigin-RevId: 7da1c4f051691ff7df31627115a9a37e6c5d5802
2020-09-25 00:46:16 +03:00
levlam
b9e27e28b9
Make ContactsManager::get_service_notifications_user_id static.
...
GitOrigin-RevId: 28c9d570e1b9bfc7987dc299b87c0bb8ac33b38e
2020-09-24 23:04:32 +03:00
levlam
90ee4bd63c
Minor fixes.
...
GitOrigin-RevId: ef4e2cfe4f198caec26daf04423eb26afedde5bb
2020-09-24 19:15:42 +03:00
levlam
e0adaebb91
Unify logging of request responses.
...
GitOrigin-RevId: ae4c0a3881a89aa235baa08c07ec97a914437d8c
2020-09-24 16:08:04 +03:00
levlam
089fda8d13
Add blockChatFromReplies method.
...
GitOrigin-RevId: 45591f36bd5482d567c758b42572b953babe2537
2020-09-24 15:29:34 +03:00
levlam
5c0d2eb050
Add ContactsManager::get_replies_bot_user_id.
...
GitOrigin-RevId: 17aa32508783894088c05e411434cad96e1178bd
2020-09-24 01:28:04 +03:00
levlam
a1a04c3a0f
Support sending messages to threads with message album root.
...
GitOrigin-RevId: 59f9b1a557b5130f266e06eba1ad62f26d090769
2020-09-23 21:58:55 +03:00
levlam
2c8900704f
Correctly apply GetDiscussionMessage results.
...
GitOrigin-RevId: 2c73e76425bfb17635c02079933cbb6ec7ad6196
2020-09-23 18:26:27 +03:00
levlam
590fc8f8bb
Fix check for acceptable reply header.
...
GitOrigin-RevId: 9c636e96ef5e615fd434fb2e63e459eead57a5bb
2020-09-23 02:17:57 +03:00
levlam
ca2465a025
Clear message thread draft if needed.
...
GitOrigin-RevId: efb50d58b77d249417937c9ff2ba292bc664a994
2020-09-23 02:09:30 +03:00
levlam
e2a596e11f
Add chat_id and message_thread_id to messageThreadInfo.
...
GitOrigin-RevId: 57945b02f90e74aba10e519f0f140e97f5447f9b
2020-09-23 02:02:41 +03:00
levlam
25676d7ff0
Allow to specify message_thread_id in sendMessage/sendMessageAlbum/sendInlineQueryResult.
...
GitOrigin-RevId: b9d3545b42355c04afe305f05c0366b0bf3095b0
2020-09-23 01:52:16 +03:00
levlam
a83a356e44
Support local draft messages in message threads.
...
GitOrigin-RevId: f75e36f803b0aea5c6aff83831c31e0a312898db
2020-09-22 19:45:27 +03:00
levlam
4aa10dbcc5
Fix seq updating after all updates was processed.
...
GitOrigin-RevId: 11070e368d10d8378b5b30010a5ea1028d4e2fbe
2020-09-22 18:16:05 +03:00
levlam
3522d8dae0
Repalce getDiscussionMessage with getMessageThread.
...
GitOrigin-RevId: 8f5a828b3d1decf9c9c9061eaa706362b2b0272b
2020-09-22 17:27:35 +03:00
levlam
cb3f390a92
Unify "log event" spelling.
...
GitOrigin-RevId: a1a491981596c56dbf7541d80ead1ea9f5d5bd04
2020-09-22 02:15:09 +03:00
levlam
9a8895e043
Add get_log_event_storer convenience method.
...
GitOrigin-RevId: 0651bb08a5c41917b69836140e3ff512ab571571
2020-09-22 01:39:45 +03:00
levlam
08ff725767
Support viewing messages in message threads.
...
GitOrigin-RevId: 5bde413f4192993e12b8e89ff5cb569421b90d78
2020-09-22 01:13:06 +03:00
levlam
3b97a0944d
Ensure that MessageReplyInfo.max_message_id is at least as last_read_message_id.
...
GitOrigin-RevId: 7c1f38f06e1fe1f687f923387c7baa9b2f5ac7ef
2020-09-21 16:37:07 +03:00
levlam
e283ad8ac6
Use send_closure_later to load *Full to exclude possibility of loading them from the database synchronously and invoke some side effects such as message loading synchronously.
...
GitOrigin-RevId: 4c97db4ce3fd517274380eb9eea8e586c6f04399
2020-09-21 16:09:17 +03:00
levlam
621c920655
Add LogeventIdWithGeneration helper class.
...
GitOrigin-RevId: 838115e565a4b1b349d5248117ac869d2e73b6e1
2020-09-21 15:21:41 +03:00
levlam
3148dc0871
Add is_discussion_message.
...
GitOrigin-RevId: d3934040be55c5199accd330f1bc0807cbf3d6a3
2020-09-21 01:08:49 +03:00
levlam
2afbf38c33
Make universal offline getMessageLink method.
...
GitOrigin-RevId: 523db9044cfb2d41076ac98974d4a00f0740e2a6
2020-09-20 22:07:27 +03:00
levlam
8f4e9b2ed4
Add td_api::getMessageEmbeddingCode.
...
GitOrigin-RevId: cd26212418c3de5fc5046da456fad84f0f633d0d
2020-09-20 18:17:47 +03:00
levlam
ecc97d06b9
Fix chat blocking.
...
GitOrigin-RevId: c55076283c272019e0eb2908aab71efc09ad190a
2020-09-20 04:30:46 +03:00
levlam
446ba8d406
Replace getBlockedUsers with getBlockedChats.
...
GitOrigin-RevId: 431e0639095b9e01d1b897a52bca4430855560e4
2020-09-20 03:29:00 +03:00
levlam
54308a86fe
Replace blockUser and unblockUser with toggleChatIsBlocked.
...
GitOrigin-RevId: 454542b32a7b8efc487afed54c59ae3864ea138e
2020-09-20 03:00:01 +03:00
levlam
e3f5719c5c
Remove unneeded td_ usages.
...
GitOrigin-RevId: 4cf456413228f086d7df3d21d7024baf6db1bf15
2020-09-20 02:02:27 +03:00
levlam
9ecb61965d
Move is_blcoked to Chat.
...
GitOrigin-RevId: 7d1fc672c9487feba0839b7af669323464243ffc
2020-09-20 01:54:40 +03:00
levlam
b593d2a367
Add total_count to getChats, searchChats and getGroupsInCommon method responses.
...
GitOrigin-RevId: 2177bf47b38239a2d6e437f17d9f694ee5c31521
2020-09-20 00:28:26 +03:00
levlam
dad48976b5
Add unread status in message threads.
...
GitOrigin-RevId: ed0fb2fc705b9539001b365fd5aa07d762d9a382
2020-09-19 22:01:28 +03:00
levlam
54ed8cfbc5
Save channelFull.is_blocked flag.
...
GitOrigin-RevId: 1c780c0a700070cfccc38c94b87778a7cd4415f7
2020-09-19 14:43:37 +03:00
levlam
b343892944
Update layer 119.
...
GitOrigin-RevId: dc12a78b697774a8bff24152a39ca2bbdc641fe2
2020-09-19 14:32:18 +03:00
levlam
5b07557f3d
Support receiving typings inside a message thread.
...
GitOrigin-RevId: ccedc84e6066d37835e560929c69c3f2cb010dcf
2020-09-18 20:15:12 +03:00
levlam
bda5a3c5bd
Allow sending chat actions inside message thread.
...
GitOrigin-RevId: 6ad0b659f957013fa493386ad808eb6767399253
2020-09-18 19:42:31 +03:00
levlam
b45ccc6d14
Update layer 119.
...
GitOrigin-RevId: fba8e1e0e8cf9b6fda11ab3762bd6efca5865eb8
2020-09-18 18:32:59 +03:00
levlam
8405b08f0a
Support links to comments in getMessageLinkInfo.
...
GitOrigin-RevId: 5f52a6bbf183c01423724bc540af52f39463d2fe
2020-09-18 04:14:59 +03:00
levlam
153521be4f
Check message dialog in GetDiscussionMessageQuery.
...
GitOrigin-RevId: 7131e2d04e9f4ed65aa99176cb17d28c9b3851d4
2020-09-18 01:43:56 +03:00
levlam
bcba0f8f78
Bump enitites fix date again.
...
GitOrigin-RevId: 28b83e168ee6ce10d6da36650d0956c1309cb7c8
2020-09-17 17:08:01 +03:00
levlam
1da8d859c9
Add for_group and for_comment in getMessageLink.
...
GitOrigin-RevId: 1ca027280f9e1013a1ad0ba20ed54ffbbcad2bb6
2020-09-17 16:47:27 +03:00
levlam
e7a835fd55
Improve get_public_message_link.
...
GitOrigin-RevId: a1f8106c23d438f0bdb1ff4c1af3ef4c0f2391bd
2020-09-17 00:55:39 +03:00
levlam
5ef1b0e873
Add last_read_comment_message_id to MessageInteractionInfo.
...
GitOrigin-RevId: e03cecb40db8c4c013c1c6aa16ff7eb4acba5c6a
2020-09-16 20:57:34 +03:00
levlam
7e6cb9a8e4
Handle updateReadDiscussion.
...
GitOrigin-RevId: 2cb783768934ee67bad98511edfc061ae6aa879b
2020-09-16 16:41:08 +03:00
levlam
2b5b6386fc
Update layer 119.
...
GitOrigin-RevId: 5a357984b79e16c155b209ab4cfc146a137519c9
2020-09-16 15:42:39 +03:00
levlam
33f315cfbb
Return result to the GetDiscussionMessageQuery promise.
...
GitOrigin-RevId: 9e950f47cb9e99e199ea03e31dd0cd12377adaec
2020-09-15 23:18:08 +03:00
levlam
b5fc3012b3
Add max_message_id and max_read_message_id to MessageReplyInfo.
...
GitOrigin-RevId: f58dafcd0abd825019010b88f3e9d2835ad69311
2020-09-15 19:45:45 +03:00
levlam
cd6cfc52ac
Add td_api::getDiscussionMessage.
...
GitOrigin-RevId: 5adf174ae08f0cf3c430ea0222f818a54988823f
2020-09-15 17:07:34 +03:00
levlam
2cca74bf80
Use messages.getReplies when appropriate.
...
GitOrigin-RevId: cba140893d0b5d4c6d2b7f4c364947019b9e85d2
2020-09-15 02:42:59 +03:00
levlam
eeac13ce8d
Do not update forward count when receive discussion message.
...
GitOrigin-RevId: de9dc38e8a8bb3747d4c955c46ddaf374b408959
2020-09-15 02:00:28 +03:00
levlam
e32ce60f38
Fix reply_in_dialog_id in td_api::message.
...
GitOrigin-RevId: 0d8257e8f9e56df845c47bfb7696c38e5fd3f701
2020-09-15 01:49:40 +03:00
levlam
25accb2d4d
Silence expected warning.
...
GitOrigin-RevId: 82f914b98914abfdecc2aa7d4dfc55ea6ef0d0ed
2020-09-14 19:06:51 +03:00
levlam
16bd7bd98e
Add checks that delete is not called for incomplete type.
...
GitOrigin-RevId: 19755ebbee56eb874e84fd8544899fd70a78df7f
2020-09-14 18:11:34 +03:00
levlam
cb71adbfd5
Fix CountryInfoManager destructor.
...
GitOrigin-RevId: ed5225ff0f7937dd6d4d7584e4e3a7854acef8c2
2020-09-14 18:02:19 +03:00
levlam
ac197bec10
Fix warning.
...
GitOrigin-RevId: a89389b76fb188a92c94f737452d2be7bef28adc
2020-09-14 17:52:04 +03:00
levlam
6e08881d81
Fix handling of updateCallSignalingData.
...
GitOrigin-RevId: 81a12c58a8e5d015ebe25de0b8c1fb1e31bd84e7
2020-09-14 16:02:37 +03:00
levlam
12577df8c5
Fix CHECK.
...
GitOrigin-RevId: 17c371798e0a67e4af25d0653c7edf604a33ab03
2020-09-14 15:47:38 +03:00
levlam
143a4961b6
Improve inputMessageDocument.disable_content_type_detection field name.
...
GitOrigin-RevId: b2155f743635437e11d4c346bad641427cb737fa
2020-09-14 15:40:34 +03:00
levlam
bc000b5a53
Add OptionParser::parse_string helper.
...
GitOrigin-RevId: 506b1d9c1b6cfb6029bb87e32a98f08b0d16b2d4
2020-09-14 14:51:52 +03:00
levlam
e96e8a45f8
Increase message cache time to 30 minutes for bots.
...
GitOrigin-RevId: ef7a6833d62ce356012aba043c526199a200717d
2020-09-14 12:48:10 +03:00
levlam
3ae535eae7
Make get_message_dialog_id static.
...
GitOrigin-RevId: 66761856feedcd56b491f19538b6ef61260ad5e8
2020-09-14 02:32:37 +03:00
levlam
a6463970b1
Delete received empty channel messages.
...
GitOrigin-RevId: f6754fb7381c2e72983874033ac1e2bbc2293c89
2020-09-14 02:23:02 +03:00
levlam
d940b86113
Drop public message links from cache when dialog username changes.
...
GitOrigin-RevId: 008652cfb854f5298c7e9522fc086c78f1a66ecd
2020-09-14 01:44:55 +03:00
levlam
e082b2ac49
Store public message links separately for each dialog.
...
GitOrigin-RevId: 2b227d07c8ec7c42cabd7af78ffde3ff07799f92
2020-09-14 01:39:34 +03:00
levlam
1cd9f5d8c9
Support generating of public links for comment messages.
...
GitOrigin-RevId: 68d9a0260e60719f129e05d32fcbf756e93fa5d4
2020-09-14 01:12:24 +03:00
levlam
ed10f1851c
Keep reply_count only in discussion supergroups.
...
GitOrigin-RevId: f9f603e89eba8dcb9a8b92574c6e15ecace9cb4e
2020-09-13 17:57:06 +03:00
levlam
fb0a43ee93
Automatically update message interaction info when linked channel is changed.
...
GitOrigin-RevId: 248afe64dbb6fe2e3e4fe72e474220e6c257d286
2020-09-13 17:52:39 +03:00
levlam
c7a9e5980c
tg_cli: support custom message ID separators in deleteMessages.
...
GitOrigin-RevId: f070685d2fee167e3679d57e84d70fff1f682f72
2020-09-13 01:31:08 +03:00
levlam
8c43f751cd
Synchronously send media group to keep the relative message order.
...
GitOrigin-RevId: 7f6f0f1b47dae56f3bc459f81fc2922fdc7b46dc
2020-09-13 01:28:14 +03:00
levlam
d6f5675cb2
Always use send_closure_later in *_message_ready_to_send to keep the relative message order.
...
GitOrigin-RevId: 711dec50273bd457640d8515e583f5365ccc567d
2020-09-13 00:51:24 +03:00
levlam
de1a582734
Improve inputChatPhotoAnimation documentation.
...
GitOrigin-RevId: e78459f571c478b61223f01334759e501a54061b
2020-09-13 00:10:40 +03:00
levlam
c60bdaeeba
Add reply_to_message_id support in message copies.
...
GitOrigin-RevId: 1304da421b63721ba15a93e35b06cd6514190b71
2020-09-12 22:24:04 +03:00
levlam
85be738d9d
Support automatic forward of media albums as albums.
...
GitOrigin-RevId: cb1f6446eef0b49f944491d07e2d44fb67a2a1c8
2020-09-12 20:50:16 +03:00
levlam
22265ab338
Repair sender_dialog_id in channel messages.
...
GitOrigin-RevId: 71cbcb1252798f54da9c40b2c7838ea5f9327683
2020-09-12 17:55:52 +03:00
levlam
80c6f207fb
Do not allow switch inline buttons in anonymous messages.
...
GitOrigin-RevId: 6f0d88ca9f926a42c12f3859035ae1a66f90876e
2020-09-12 17:45:24 +03:00
levlam
324c0acbea
Repair sender_dialog_id for old automatically forwarded to the discussion group messages.
...
GitOrigin-RevId: f567e646f1d00e60523ea213ca2476e92dfef8d3
2020-09-12 17:31:20 +03:00
levlam
7842beed95
Exit early some functions for bots.
...
GitOrigin-RevId: b155610c1c61846d1c113b07cce4403333fa952e
2020-09-12 17:10:06 +03:00
levlam
f24ec0c490
Disallow unsupported reply markup by anonymous bots.
...
GitOrigin-RevId: 8bcd5df60b1938e6fc172d87c0d7a37bc59db205
2020-09-12 13:20:39 +03:00
levlam
a925c22469
Do not send dialog actions by anonymous administrators.
...
GitOrigin-RevId: c67c1fc5b2ca97fb4a261d224af42b0be49f6807
2020-09-11 22:01:55 +03:00
levlam
f5572725c5
Support sending messages by anonymous administrators.
...
GitOrigin-RevId: a84245ea5e27b7e7fe5d9b303f5456d321887136
2020-09-11 21:06:01 +03:00
levlam
2aaf1ebe3f
Simplify forward count updating.
...
GitOrigin-RevId: 7986012adffddb95728c2f08af46ccc32848feb0
2020-09-11 20:27:10 +03:00
levlam
5ffca2bffb
Add send_update_message_interaction_info.
...
GitOrigin-RevId: 83ad785a336f4ca12f5dea4e9a9c8cc93e2e98a9
2020-09-11 20:20:46 +03:00
levlam
db5adecbda
Update reply count on new message receiving.
...
GitOrigin-RevId: ba0831b13ee0ee816fee8a4cd8bd2878803e1453
2020-09-11 20:12:31 +03: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
fdc3920572
Fix some includes.
...
GitOrigin-RevId: 4b57613cc6e948ceb7d63b4378bc9124271e0f53
2020-10-08 18:30:36 +03:00
levlam
6bbb7cde8d
Remove unneeded explicit td:: usages.
...
GitOrigin-RevId: a6d2bf8a1e13f35dd07b9ce43f4320e93cf36040
2020-10-08 15:20:22 +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
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
levlam
1a4a834b2d
Add progressive JPEG support.
...
GitOrigin-RevId: 48c56c3c2575da76df5e9237f6fb043e374bf30d
2020-08-25 15:09:24 +03:00
levlam
1843e92961
Add td_api::getPhoneNumberInfo.
...
GitOrigin-RevId: bba065e87cf5d68026d7408c2a34770f6e4f931d
2020-08-25 13:42:14 +03:00
levlam
3860953251
Add td_api::getCountries.
...
GitOrigin-RevId: 1c70e6e267b9582afe50014ffc9d1ef81a33f123
2020-08-24 23:38:45 +03:00
levlam
eff3dd9f36
Make CountryInfoManager actor.
...
GitOrigin-RevId: 4e03cee13e38b682c6e063f16cd078345c0c00ff
2020-08-24 14:39:03 +03:00
levlam
1c6f778e8d
Fix message handling during logging out.
...
GitOrigin-RevId: 6542058eb0fcec8e2693db5f5f8abf725c4d4ed7
2020-08-24 13:43:54 +03:00
levlam
59265a41f5
Add CountryInfoManager.
...
GitOrigin-RevId: cdd8cab21bac58e6162cae7b806aef8dfe400b81
2020-08-24 00:43:31 +03:00
levlam
7bf004c8c3
Improve function name.
...
GitOrigin-RevId: 93a8577f8cbe4e7d12f5365b0ea3eff8d5b82a94
2020-08-23 23:02:20 +03:00
Andrea Cavalli
496281f4ca
Fix includes on mac osx
2020-08-23 21:45:48 +02:00
levlam
b575ed9a98
Add static assert for array size.
...
GitOrigin-RevId: 1f044bd3c05346316d27c7ae0462a2b0d575168a
2020-08-23 21:25:06 +03:00
levlam
3305ca5689
Fix misprint.
...
GitOrigin-RevId: cb8c1e3f26771d317ae3c9db1157d8e98d0ad3a8
2020-08-23 20:34:05 +03:00
levlam
dd722844bd
Early conversion to MessageSearchFilter.
...
GitOrigin-RevId: c74a75329a873842ee30ce45515a05024da26153
2020-08-22 10:48:36 +03:00
levlam
46f42d80b6
Move MessageSearchFilter to separate files.
...
GitOrigin-RevId: 07b7df009b4e74a145b5ebc1966190630545baef
2020-08-22 10:27:13 +03:00
levlam
7d6546b27a
Rename SearchMessagesFilter to MessageSearchFilter.
...
GitOrigin-RevId: ac477d22eae9382c6e9d63e184f10490c1bf4292
2020-08-22 10:05:51 +03:00
levlam
f28373a71f
Allow to search messages with empty query and non-empty filter.
...
GitOrigin-RevId: bf8e2a0ab5dc2c48b3760ec595e6d22e9da965a5
2020-08-21 21:21:52 +03:00
levlam
552a0550c2
Add two new call problems.
...
GitOrigin-RevId: 036e7b52be8daa114fa919f560410b5edb09b461
2020-08-21 20:53:39 +03:00
levlam
fcd1cda312
Add filter support to searchMessages.
...
GitOrigin-RevId: 571b0ee894296c1e8c947939f7098a1566731461
2020-08-21 17:40:05 +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
e848087e24
Support sending silent messages in secret chats.
...
GitOrigin-RevId: fe15f9526bd5066b596e7e31d28bd9bab20cf719
2020-08-21 15:38:23 +03:00
levlam
ca3d263c25
Add total_count to FoundMessages.
...
GitOrigin-RevId: ade2685b5d19dfb5cf31d4e952074879393915ee
2020-08-21 15:08:47 +03:00
levlam
f9c0ddae06
Add getMessagePublicForwards method.
...
GitOrigin-RevId: a0b16c241bcf3276c245423f7fff3f41751883b6
2020-08-21 14:47:43 +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
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
levlam
605e0844fb
Use string new_offset in FoundMessages.
...
GitOrigin-RevId: b0d013e7d2513cc39f1c07013c837e6adb7e924a
2020-08-18 15:10:03 +03:00
Andrea Cavalli
b93239f6d4
Increase version to 1.6.8.
2020-08-18 13:58:09 +02:00
Andrea Cavalli
1ccc7c6c65
Merge commit '3282a873cb24b0c975b6929aeb71a00fc6a18b7c'
...
Conflicts:
sqlite/sqlite/sqlite3.c
sqlite/sqlite/sqlite3.h
sqlite/sqlite/sqlite3ext.h
sqlite/sqlite/sqlite3session.h
tddb/td/db/SqliteDb.cpp
2020-08-18 13:55:47 +02:00
levlam
5e20f6f90b
Rename can_view_statistics to can_get_statistics.
...
GitOrigin-RevId: 1b18ac1fbe89cfb64743600e92511c4a03eafe09
2020-08-18 14:19:03 +03:00
levlam
3de679b560
Fix MessageEntity::get_type_priority.
...
GitOrigin-RevId: 175f6e2f1f97e87309add8314321934d744b0493
2020-08-18 11:05:10 +03:00
levlam
3c83aae127
Add CallbackWithPassword buttons support.
...
GitOrigin-RevId: 99e79f8975d50a9a87183dd78f2641711bbad28d
2020-08-18 09:32:37 +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
17b82c8bd1
Redesigned the enumerator
2020-08-05 16:18:33 +02:00
Arseny Smirnov
71867f372d
SessionProxy: ignore redundant update_destroy calls
...
GitOrigin-RevId: 748222a69a8808d150296d2ee8298598d98a1de6
2020-08-05 16:11:10 +03:00
f5418f07c6
Update FileManager.cpp
2020-08-05 13:49:51 +02:00
90e1001a5f
Merge commit '1b628d3ab7be515c8c6a916e7e955403fbc07b2a'
2020-08-05 11:34:15 +02:00
9dc0b2808c
Minithumbnails option for all media types
2020-08-05 11:23:52 +02: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
a8abec44a0
Important bugfix
2020-08-04 00:50:50 +02:00
cf20048560
Delete files when forgetting them
2020-08-04 00:50:43 +02: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
5c4e8bc0bd
More fixes
2020-08-03 18:13:38 +02: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
54531202a8
Update FileManager.cpp
2020-08-03 14:26:26 +02:00
159ec55ecf
Fixed FileManager iterators
2020-08-03 13:29:20 +02:00
d890456b81
Added further checks
2020-08-03 12:23:50 +02: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
907463fb80
Fixed file nodes
2020-08-02 02:08:24 +02:00
levlam
5285a02cf8
Remove some logging in tests.
...
GitOrigin-RevId: 35194c43063ec1b65d67b3d58157ab77d7819691
2020-08-02 01:40:48 +03:00
000375e21b
Increased files TTL to 120 seconds, fixed rehash buckets count, lock other methods when cleaning, unique_ptr for nodes
2020-08-02 00:28:01 +02:00
22192cda3c
FileReferenceManager existance check
2020-08-02 00:25:55 +02:00
35fe9a1409
ContactsManager partial locking when cleaning
2020-08-02 00:24:48 +02: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
levlam
a9fa751689
Automatically update forward count wnen receiving a forwarded message.
...
GitOrigin-RevId: a33ceb0a90cea9de89ec84c6d98c39078f3b115b
2020-08-01 05:54:39 +03:00
levlam
53ca6e4f4a
Add td_api::getMessageStatistics.
...
GitOrigin-RevId: f5d32ef829b91aa1fea59ea88b665fe39d32642c
2020-08-01 05:19:54 +03:00
ee676d0a52
Update WebPagesManager.cpp and cli.cpp
2020-08-01 01:00:01 +02:00
f1bf08c1e6
Update ContactsManager.cpp, WebPagesManager.cpp, and cli.cpp
2020-07-31 23:54:01 +02: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
levlam
8e77eacc72
Update message interaction info after receiving channel statistics.
...
GitOrigin-RevId: 6ec1b365c9f1299da1849fa6767f4ec79b627f90
2020-07-31 20:03:57 +03:00
8206448240
fix typo
2020-07-31 15:57:38 +02:00
aae28b4fb5
Update ContactsManager.cpp, StickersManager.cpp, and WebPagesManager.cpp
2020-07-31 15:51:49 +02:00
Arseny Smirnov
bbea867145
TsList: make lock non-static again
...
GitOrigin-RevId: 7df7dee8bf609f928b351b448c9e132fb2118942
2020-07-31 16:07:07 +03:00
levlam
23b3eb4931
Update layer to 118. Support message forward count.
...
GitOrigin-RevId: 10f59fede8b4a86c871949fc721fedd1d615c4bf
2020-07-31 05:50:11 +03:00
levlam
9d64589456
Fix NetQueryDebug.state_timestamp_ initialization.
...
GitOrigin-RevId: 7cd96ac1d2e423767b8ae4a9d8f1ef5347fa41e8
2020-09-03 07:21:01 +03:00
levlam
51f8ed3526
Fix FileLoader closing.
...
GitOrigin-RevId: 85ee2acb100e160fd13752ef8fb238dcd63e1f35
2020-09-03 00:16:49 +03:00
levlam
39a42bfd74
Return previous actor context before stopping Td just in case.
...
GitOrigin-RevId: 1737f25bd1990fbffe16c075c87cbfa23b3e0d85
2020-09-02 23:35:54 +03:00
levlam
77678b730c
Send acknowledgements immediately if hane many of them.
...
GitOrigin-RevId: e7759150942e8fcdde57b1113e5b6c0375023f91
2020-09-02 15:40:47 +03:00
levlam
58f796b5ba
Improve documentation.
...
GitOrigin-RevId: 489f91624378aa455cb9253dfd4669d4d406a4e7
2020-08-30 16:42:44 +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
e2947da564
Update ContactsManager.cpp
2020-07-29 17:13:12 +02:00
3fe1a1319b
Adding destroy_query
2020-07-29 17:00:11 +02:00
cc087aeacd
Merge commit 'ab5d35371b1fdcfb30dfa981ede54ec83db214a9'
...
Conflicts:
sqlite/CMakeLists.txt
td/telegram/ContactsManager.cpp
td/telegram/Photo.cpp
td/telegram/Td.cpp
td/telegram/WebPagesManager.cpp
td/telegram/files/FileManager.h
2020-07-29 16:39:33 +02: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