Commit Graph

3795 Commits

Author SHA1 Message Date
Arseny Smirnov
36cc950820 RequestActor: add checks
GitOrigin-RevId: 16b850d775030948afcaea79695e5961d9652c70
2020-03-27 14:37:33 +03:00
levlam
a0a446f987 Correctly send updateChatOrder when sponsored chat changes.
GitOrigin-RevId: 0e2184406b689df860926817d4b4966869a5d05d
2020-03-26 19:04:48 +03:00
levlam
bc49ef8330 Add support for fetching vector<bytes> in JNI interface.
GitOrigin-RevId: a7e4a44cb20262b9268a981ebed139e21794d525
2020-03-25 02:14:08 +03:00
levlam
5f5d3355e3 Fix checkDatabaseEncryptionKey usage in examples.
GitOrigin-RevId: 854debfb6f9ec64bc44a19200fdc2f72e39dc6f1
2020-03-25 00:59:38 +03:00
levlam
8898bfa655 Add typedefs for other integer and string types in generated C++ code.
GitOrigin-RevId: d6494c0aaaf10719c9bbb24ba4d259d7cde25060
2020-03-24 21:14:47 +03:00
levlam
24a4104ac2 Use separate type int53 in generated C++ code.
GitOrigin-RevId: 0316bec46dc5838858528456bb6947f92e350480
2020-03-24 20:52:33 +03:00
levlam
6943db4d52 Use separate type bytes in generated C++ code.
GitOrigin-RevId: 185d08246caf0dd6050b1c9409a4078746d9091e
2020-03-24 20:02:03 +03:00
levlam
302485d673 Repair dialog action bar with delay to not receive outdated data.
GitOrigin-RevId: 74c3cb3ae95e5204153b91fd220b3e6b62bd87df
2020-03-24 03:47:33 +03:00
levlam
f0a8af3b2d Ignore notifications about messages, which can't be added to the dialog.
GitOrigin-RevId: 6e5780e843760b4ff39aee751249455b9d926b01
2020-03-24 01:49:04 +03:00
levlam
1310aa7f2c Improve logging.
GitOrigin-RevId: d1c9c742981fa37ebe691aa569e8b6a9fc50d3c1
2020-03-24 01:36:43 +03:00
levlam
ca585ad181 Do not hide live location edit date.
GitOrigin-RevId: feb0d2b9b642ee507770cc58a9ad06d37c833957
2020-03-24 01:33:50 +03:00
levlam
487cb20597 Ignore web remote locations instead of crash.
GitOrigin-RevId: 0ab5d749eeff28bc25befd6610038a7aa43206a5
2020-03-24 01:12:23 +03:00
levlam
2d9eb0c00b Do not create *Full if there is no corresponding User/Chat/Channel.
GitOrigin-RevId: 8f046c4fb85d5d406f59569a6be2ef7988d3e452
2020-03-24 00:59:14 +03:00
levlam
c5b7a92e78 Do not warn on animated sticker size changes.
GitOrigin-RevId: 256c201cb91e2ee99f23abd2464cc586a27d66c5
2020-03-24 00:36:22 +03:00
levlam
76558f0802 Add can_delete_message method.
GitOrigin-RevId: 87fd876f8155d6e93f1b2f50e03d610626c8ede0
2020-03-20 03:59:09 +03:00
levlam
c4023a3f9b Use KB instead of kB for 1024 bytes.
GitOrigin-RevId: 163ebf3f28f5e6f6710b3ff85bdfc21996c67acb
2020-03-20 03:20:07 +03:00
levlam
61d0b113d9 Do not add sponsored chat to ordered_dialogs_.
GitOrigin-RevId: b0b9f90f2018bbe4f32597cd5b4077056ac901e7
2020-03-20 01:15:15 +03:00
levlam
3caaddc98d Do not allow to pin chats not from chat list.
GitOrigin-RevId: 05cc829da14c54b73f7e5425c08647b70ddf2a49
2020-03-20 00:22:11 +03:00
levlam
33b87d1b13 Add MessagesManager::is_removed_from_dialog_list.
GitOrigin-RevId: a0d49b0a9c945110b6a7365489795c2fb9b73126
2020-03-19 23:52:09 +03:00
levlam
f14b83f367 Minor.
GitOrigin-RevId: cbffbf1a1918a86140c1b4b06a9e8a97627d46d3
2020-03-19 02:53:04 +03:00
levlam
9d1e3ed661 Add WIN32_LEAN_AND_MEAN during build on Windows (0% build time speed up).
GitOrigin-RevId: ebe9742fa94187434be37339862f11b750db44ac
2020-03-19 02:33:53 +03:00
levlam
0578d58d93 Minor improvements.
GitOrigin-RevId: 6c87ee82034d077c1f16f053948a0d89b4c2cd71
2020-03-19 01:54:59 +03:00
levlam
b9fd8fd5d6 More need_unread_counter usages.
GitOrigin-RevId: 50f1daa84a2e19a257a1f357454b3ea363afe1d4
2020-03-19 00:52:53 +03:00
levlam
443924ca11 Simplify MessagesManager::set_dialog_order.
GitOrigin-RevId: a91e590024087f71146637064b5a44a4a2da9960
2020-03-18 23:19:23 +03:00
levlam
fd10b27847 Improve logging.
GitOrigin-RevId: d03e6ce64b2e88389f0e3df1ecfec4efb5711e75
2020-03-18 20:51:02 +03:00
levlam
cd8c63f073 Simplify update_dialog_pos calls.
GitOrigin-RevId: 60f274d8149a650a04e2a9f289b7aba2992583b3
2020-03-18 19:41:18 +03:00
levlam
a1a7fc7a4d Remove unneeded function parameters.
GitOrigin-RevId: d7e13769e18a6949bbae73da050b664fe09cc1f0
2020-03-17 04:29:24 +03:00
levlam
62863e9280 Minor fixes.
GitOrigin-RevId: e7b9ea9cb76d5c65c00a5ca86c85c6c8984e1d3c
2020-03-16 22:00:44 +03:00
levlam
eea23e4255 Fix formatting.
GitOrigin-RevId: 9d7abcae840a94912b8c0316c37a2553a38fa864
2020-03-16 19:42:10 +03:00
levlam
6674359694 Fix tdapi bigobj linking.
GitOrigin-RevId: 46db6ce5768d513d44f7daf46bd0b10680e837e0
2020-03-16 17:23:30 +03:00
levlam
7a649c23f1 Fix chat order comparison.
GitOrigin-RevId: bf16c396fd837410124b59ea97f2953dcefd0bbc
2020-03-16 16:32:27 +03:00
levlam
07d6f17f33 Fix dialog order comparisons.
GitOrigin-RevId: c3d0a23d3e8d894532fa2dcf708175242e715c80
2020-03-16 04:12:34 +03:00
levlam
784836f3b6 Decrease maximum total_timeout_limit for bots.
GitOrigin-RevId: 8d42ef41c28e8a5a276f4a1b6058c3391419146e
2020-03-16 04:09:17 +03:00
levlam
aac59710b4 Move fetch_result to corresponding files.
GitOrigin-RevId: e553631e87f81f466ce8ebc353820acd82dd8510
2020-03-16 01:42:24 +03:00
levlam
d06a786a16 Simplify NetQueryCreator and remove mtproto dependency on telegram_api.
GitOrigin-RevId: 2edfc9d6d80eab8716dfd3722f6aebe53dba1e47
2020-03-16 01:01:14 +03:00
levlam
b8848a2ab4 Simplify NetQuery creation.
GitOrigin-RevId: a01e72f8e196b405dd28dfd75d16cadc7127ec4a
2020-03-16 00:17:11 +03:00
levlam
2bd330a5aa Add NetQueryCreator.create_guest_dc.
GitOrigin-RevId: e8b0fffb5bb762ce288a9cbf1c446d584c7258e1
2020-03-15 05:22:43 +03:00
levlam
8d01251f8b Add NetQueryCreator::create_unauth.
GitOrigin-RevId: 79043a3662b0353f000f388b3ee2763abf49fe2d
2020-03-15 04:51:14 +03:00
levlam
c4c9e51157 Make all fields required in full NetQueryCreator methos.
GitOrigin-RevId: aa8ebb5cc46b9f3b7c0b606c012ace5fafe2bbf2
2020-03-15 04:15:54 +03:00
levlam
0d08895871 Simplify NetQuery creation in SecretChatActor.
GitOrigin-RevId: a6d00cb5175552f9aa6dc7b38462fc00eb5b78f7
2020-03-15 03:43:42 +03:00
levlam
ad3c28932b Remove manual Gzip flag specification in query creation; support uploaded files pack.
GitOrigin-RevId: 46ddfc230182615517eac7b611a79284559bd694
2020-03-15 02:49:10 +03:00
levlam
34973a5823 Add gzencode test.
GitOrigin-RevId: 2c4cced1680efe16b8145ba2c5614bad26c9e77e
2020-03-15 02:32:53 +03:00
levlam
a0c5c5900a Better rand_string parameter types.
GitOrigin-RevId: 2702375880663d3cfe1546b047e01ba02ffcd2ce
2020-03-15 02:01:22 +03:00
levlam
968689157c Make max_compression_ratio required parameter in gzencode.
GitOrigin-RevId: c787fdeae202d3b80944412e7db4209f35adcd07
2020-03-15 01:56:48 +03:00
levlam
b4138231ec Remove total_timeout_limit parameter from NetQuery creator.
GitOrigin-RevId: 5c5a15654176061a64c0f167633a7842192200ba
2020-03-15 01:44:21 +03:00
levlam
a157cbf8d7 Replace NetQueryCreator.create_result with create_update.
GitOrigin-RevId: 21523bbd42a847b26359e49d6b70556599319121
2020-03-15 01:24:11 +03:00
levlam
7d71ec447a tg_cli: remove file_reference logging from WARNING,
GitOrigin-RevId: 06483fd96b69f5ef74660adeec21e46fed99bbb3
2020-03-14 20:38:09 +03:00
levlam
1ed0ab3146 Improve logging on failed check.
GitOrigin-RevId: 3058af6fe76779e02eb6440fd1ab13ce07621785
2020-03-14 01:54:13 +03:00
levlam
3d85a7f304 Fix possible crash.
GitOrigin-RevId: 33fdfa3f92b9dfe393aac934f1307be00d7c308b
2020-03-13 02:50:29 +03:00
levlam
a6ec9e784a Fix draftMessage.date field type.
GitOrigin-RevId: 819b7e0442481ed875084910f44e96d006a08701
2020-03-12 22:59:31 +03:00