Commit Graph

4850 Commits

Author SHA1 Message Date
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
013db25897 Improve AES CTR test.
GitOrigin-RevId: a65b34e408f972e737489222d9f3e0604582fa3d
2020-09-27 22:07:42 +03:00
levlam
6278121549 Improve AES IGE test.
GitOrigin-RevId: b0b0ac715b062b339f7d64c4695b0fb99b78b409
2020-09-27 22:03:00 +03:00
levlam
705102cba0 Optimize AES CBC.
GitOrigin-RevId: f514011f11ebbea7b6198b9c905a61a990d4e4fe
2020-09-27 21:51:42 +03:00
levlam
657ebfae0c Improve AES CBC test.
GitOrigin-RevId: 03d3cb464c49d9fed9db2104ed1ace3d72579140
2020-09-27 21:03:05 +03:00
levlam
9322bf68cd Move test functions implementation to cpp.
GitOrigin-RevId: eec1d208f410a3f546dfe230d1780ecdac02d3b4
2020-09-27 20:38:23 +03:00
levlam
a9a3acf135 Delete unused AesCtrCounterPack and XorBytes classes.
GitOrigin-RevId: 95906d3d54c16928a1250a511e1e66aa8e59c5c6
2020-09-27 15:47:22 +03:00
levlam
4d67801710 Use EVP_aes_256_ctr for AES CTR implementation.
GitOrigin-RevId: e9218b6eec8f5e4a11eea24324f6c8478f6f1293
2020-09-27 15:46:11 +03:00
levlam
a7ba1e3e12 Fix AES benchmark.
GitOrigin-RevId: f438040ad99af3bfa43badff0ccc6de333b11fb9
2020-09-27 15:19:47 +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
78ca715746 Add AES CBC benchmark.
GitOrigin-RevId: 1341d108549c70d9d0b35904eb6389e7589452fc
2020-09-24 14:21:46 +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
4357a24a1c Fix aes_ige_encrypt/aes_ige_decrypt.
GitOrigin-RevId: 7f4a7f86e1fbabe5bfe020fe95586a6030765977
2020-09-22 18:05:58 +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
8503e7f214 Update SplitSource.php.
GitOrigin-RevId: 9e4dfaa6d15e82f3f69ce7149dfb5e0c9df99f76
2020-09-22 01:41:46 +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
21969e4d02 Fix print_int.
GitOrigin-RevId: caff5ca11c300aef7658a029028d252253c4176c
2020-09-20 22:51:03 +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