Commit Graph

1001 Commits

Author SHA1 Message Date
levlam
b9cbd43e96 Add check for invalid DialogId in database.
GitOrigin-RevId: ac28b2afb276743fe203a25f53e0ff69e4e3e08d
2018-10-26 18:36:53 +03:00
levlam
4a8ba5075a Add EncryptedInputFile constructor.
GitOrigin-RevId: 9b65eebb5103753a4ceb163f0321361001686bfc
2018-10-26 18:04:04 +03:00
levlam
28bfa4c4a6 Fix some MSVC Analyzer warnings.
GitOrigin-RevId: f62e8173ae9a5b78818f6575548ce22d4aa5c51d
2018-10-26 17:11:20 +03:00
levlam
5368c96a41 Add parse_message function.
GitOrigin-RevId: 8bada6f99333add3548317ccca2ca4b5c8bb2136
2018-10-25 18:00:49 +03:00
levlam
2ca74ffacf Add debug.
GitOrigin-RevId: 777b78434c43fc443c980c1b8859184ffe0bce17
2018-10-25 15:49:30 +03:00
levlam
1e1bc31d9e Add debug.
GitOrigin-RevId: 2a662b7db120e83ee2b2bd64c8b9ac701c619a89
2018-10-24 23:03:48 +03:00
levlam
923cf40de6 Possibly fix random_id_to_message_id correspondence.
GitOrigin-RevId: 279fc911a03342796a2200b1edad5f27726be5fd
2018-10-24 22:53:31 +03:00
levlam
043602bfc2 Add {add,delete}_random_id_to_message_id_correspondence functions.
GitOrigin-RevId: 7701ea29659c355da408e97bf642529113e9d7ff
2018-10-24 22:49:50 +03:00
levlam
54ec85ff22 Add missing Logging.* files.
GitOrigin-RevId: d1aec3ed0c54ee93b69fffc930b2ebe2665356cf
2018-10-24 22:15:55 +03:00
levlam
f571a79f13 Add more debug.
GitOrigin-RevId: 2c1b631964547b2b5ba9440bb41af1ae65d5b1cf
2018-10-24 22:15:32 +03:00
levlam
de72a4e811 Add debug.
GitOrigin-RevId: fe72382facc645f11584329c7dab827ad53cb8c0
2018-10-24 22:06:13 +03:00
levlam
ed53b1a819 Better error message on broken database.
GitOrigin-RevId: 3f26c55916d5dcdf0b53993d82b61b5fa7ee56ac
2018-10-24 21:48:37 +03:00
levlam
7b0d468aeb Init call in phoneCallAccepted just in case.
GitOrigin-RevId: 152e8564bceb3316c730a3a145120b508874aefc
2018-10-24 21:44:14 +03:00
levlam
954405313a Fix is_call_id_inited.
GitOrigin-RevId: 07e3c7e8eca28f0741032d0dc69f2a1f38f3f071
2018-10-24 21:38:48 +03:00
levlam
2897a3b431 Add source to get_input_phone_call.
GitOrigin-RevId: 8bda7b246c8d15ad56de259f3f8d61f1c87f389c
2018-10-24 21:37:12 +03:00
levlam
94d28ab263 Fix wrong check for call_id.
GitOrigin-RevId: d44c4f5c67ddc59d09f741f2d7f2d0d94ee2365a
2018-10-24 21:33:06 +03:00
levlam
3bd2eb547e Add on_send_message_success debug.
GitOrigin-RevId: a2c4ae66baa7d0aa1b2b1a96771d06bb138822f2
2018-10-24 21:11:56 +03:00
levlam
fccd0c39eb Make Client.Execute static in C# binding.
GitOrigin-RevId: d31bf0d0e6fcf2a762d209f6d62127bd6eaa09e7
2018-10-24 20:23:47 +03:00
levlam
44d21ecc4a New API for managing TDLib logs.
GitOrigin-RevId: 60f520027bf16f53b927c72d0151884fda64ebbc
2018-10-24 18:42:40 +03:00
levlam
4852e2940b Fix new verbosity level in td_api::testSetLogTagVerbosityLevel.
GitOrigin-RevId: 1c61e124f711c87cdfe76ef76e332785a59a9ed2
2018-10-23 17:01:56 +03:00
levlam
92fbabbe1a Fix call to get_channel_difference.
GitOrigin-RevId: 4594b60bbdceacded2f540ccc6a3c0d9fc5c16c6
2018-10-22 18:19:39 +03:00
levlam
d992c895d0 Ignore unsuitable bots in getTopChats.
GitOrigin-RevId: a669a09cddc1bd1e2f5fce7483346aad27ddc6e4
2018-10-22 16:47:41 +03:00
levlam
00c5033386 Add more checks for message validness.
GitOrigin-RevId: 5bc63465eb68b305f9b60a3b73c9669386d045e6
2018-10-22 02:01:55 +03:00
levlam
5b603d0dd7 Fix misprint.
GitOrigin-RevId: 22e684341c9484d9f02696651cc3997983992cc8
2018-10-22 02:00:34 +03:00
levlam
7d751220a7 Fix warning.
GitOrigin-RevId: f4f9e41fae377de204eadfbc45408703a3d7c384
2018-10-21 05:11:56 +03:00
levlam
81890f309f Workaround clang ICE "ran out of registers during register allocation".
GitOrigin-RevId: d977f131b117c3d3907e505c6245ff587b7c6db0
2018-10-21 01:36:26 +03:00
levlam
776ab59c8d Exclude sponsored chat from unread counts.
GitOrigin-RevId: 3bf1951938b6cf2c7f9a9e3b4c67554c8202f9fe
2018-10-14 02:51:35 +03:00
levlam
b7a779db3b Add get_update_unread_*_count_object functions.
GitOrigin-RevId: 9f5c53acaad72ad7288882691232f7e7c85d8127
2018-10-09 17:12:10 +03:00
levlam
6dbef6ef76 Fix returning invalid Unicode from parse_html.
GitOrigin-RevId: 9277022a53d23ac5c3eb1427eb48bd886b789d09
2018-10-09 16:27:40 +03:00
levlam
041896ab8d Copy notification settings to newly created secret chat from private chat.
GitOrigin-RevId: 5c2e0a7eba59f41fcdbe70ab134299620250e907
2018-10-08 23:42:24 +03:00
levlam
f2298ce27d Fix errors handling in some ResultHandlers.
GitOrigin-RevId: 5aa4c8b7d53fa55ed6a750e3815ff1337cb5ebcd
2018-10-08 22:18:44 +03:00
levlam
872cf6e10d Add local locking to FileFd::lock.
GitOrigin-RevId: 4ad3e15f9952b1c68c879182a0f10dd5cad270f3
2018-10-08 21:18:06 +03:00
levlam
286c5040c1 Do not fail old messages sent to chat with self.
GitOrigin-RevId: eb88cd12fb29a32c6088c6284babe73a3ad71e01
2018-10-08 17:28:06 +03:00
levlam
2540555ae5 Remove source from get_my_id.
GitOrigin-RevId: 623c24323b55937866841c4b0f32b109c513983b
2018-10-08 17:21:56 +03:00
levlam
1b0c7d889d Add MessagesManager::get_my_dialog_id.
GitOrigin-RevId: 2e1e88a171a5ad86186136ef2d6f49d725ce5d09
2018-10-08 17:13:09 +03:00
levlam
41ed585aa2 Fix deleting old data when database is dropped.
GitOrigin-RevId: 0dae9d82c02bf3f45d3ebd37b86e5765887020b3
2018-10-08 16:29:44 +03:00
levlam
03d842194e tg_cli: prevent logging to default_log_interface after closing.
GitOrigin-RevId: f1cb27cd5b5a4af4d46b7ed69e87d43ad5a9f103
2018-10-08 15:59:14 +03:00
levlam
806e570a72 Add source to next_utf8_unsafe.
GitOrigin-RevId: e8e5a47096461c0e76a64eb26cb848651d4d61e8
2018-10-08 15:53:05 +03:00
levlam
08f04112af Fix calling Localization methods before authorization.
GitOrigin-RevId: 49ab08469f8e67b788fdb8fbe8c28514dd85e488
2018-10-08 15:01:09 +03:00
levlam
a26266f336 Improve logging in send_update_new_message.
GitOrigin-RevId: abe4f4c0d1e1d515b01746ba4ef8129bef65083b
2018-10-08 01:00:34 +03:00
levlam
ab2255f9b1 Add MessagesManager::need_unread_counter.
GitOrigin-RevId: 10223c628cd69ec31dfc0d4bdb56078dab234354
2018-10-08 00:28:03 +03:00
levlam
0c64b2cf9c Fix some spelling.
GitOrigin-RevId: 99848b019fce855bf50380ce6ffc2865a007161d
2018-10-07 23:40:58 +03:00
levlam
e7b69c9419 Fix get_pinned_dialogs in presence of sponsored chat.
GitOrigin-RevId: 842d022a1c47856a724f476e4f27236487aee62b
2018-10-07 02:59:30 +03:00
levlam
cd2e596b50 More MessagesManager refactoring.
GitOrigin-RevId: b458c10b0a59704a07030fe4b8dd4891051cd52c
2018-10-02 02:40:34 +03:00
levlam
e07ab63768 Add save_*_logevent methods.
GitOrigin-RevId: 5043948638752fe85d327be5143e79c372438ec9
2018-10-02 02:01:17 +03:00
levlam
21ac4d41d1 Add MessagesManager::send_get_scope_notification_settings_query.
GitOrigin-RevId: d4bc141bb3d5e730427cc07df21d82461312db74
2018-10-02 01:30:03 +03:00
levlam
4d8a832b7d Reduce more cpp source code interdependecies.
GitOrigin-RevId: e80ac4246299a5a3bf515977c24d281055fcadb6
2018-10-02 00:24:45 +03:00
levlam
5ad403a932 Move static functions from Td.cpp to Td::.
GitOrigin-RevId: f1388a1fa9e43165228eb5efc524401b9065f15f
2018-10-01 23:18:05 +03:00
levlam
b3a992a156 Remove unused class.
GitOrigin-RevId: 441411011e32e38115be51e7568d5ac50328d254
2018-10-01 19:35:21 +03:00
levlam
dbcbacea9a Fix getAttachedStickerSets for photos.
GitOrigin-RevId: a96584c9cc797f7e15d850af0a5c4c5d73b3d1ac
2018-10-01 14:34:42 +03:00