Commit Graph

1092 Commits

Author SHA1 Message Date
levlam
6eadf472fe Rename TdWindows to TdDotNet.
GitOrigin-RevId: 0bfff62c224dcbd316534649b119917280b3b398
2018-02-28 02:09:23 +03:00
levlam
c40ab5d8d6 Fix loading of sticker sets.
GitOrigin-RevId: dc3d4425181d154a0aa5dbc2b7e1042ef216a127
2018-02-27 04:14:47 +03:00
levlam
343b83c23c More calls to recalc_unread_message_count.
GitOrigin-RevId: 33435c2952192c876e6636534d12330c976b9bd0
2018-02-27 04:04:38 +03:00
levlam
8d16c86c73 Preload chats from server if there is no more chats in the database.
GitOrigin-RevId: b80b27fc423f9059edc103c94678dd2fd8fb01aa
2018-02-26 21:31:10 +03:00
levlam
57a6071c0f Replace empty first_name with phone_number.
GitOrigin-RevId: 3d19463a84d1aa074446382ff61e54f3f23563e1
2018-02-26 20:52:17 +03:00
levlam
b5f695de80 Fix crash on empty parameters in setTdlibParameters.
GitOrigin-RevId: 09ad208e356105af352134e1eabe6b30c95fdeb7
2018-02-26 12:59:46 +03:00
Arseny Smirnov
751029d45d DcOptionsSet: debug
GitOrigin-RevId: c6836c1c0c5a9755d47809931a2505346ab7e885
2018-02-27 12:38:49 +03:00
Arseny Smirnov
44aad96473 FileManager: debug
GitOrigin-RevId: 3deeb79ea9c9f0a4d5c23e8605b528ed64765a7a
2018-02-27 11:48:47 +03:00
Arseny Smirnov
c91edb6163 SequenceDispatcher: bugfix
GitOrigin-RevId: b02782f0a4247d5b6d3a1fc77d73deb240c80ad6
2018-02-27 11:48:16 +03:00
Arseny Smirnov
70ad2664bd Add initial C# support
GitOrigin-RevId: c0ece19b41ca8e348285df95f9b81b188d3e5835
2018-02-26 21:08:47 +03:00
Arseny Smirnov
9310e29ff4 Check hash of local files with same name, before download
GitOrigin-RevId: ad97f6df43eb022d5c122a950081c5d7700820f5
2018-02-26 13:05:14 +03:00
levlam
dd54e3cee0 Update layer 76.
GitOrigin-RevId: fe0ae4a97a6b05894e4a8cb3afe9251485eaeeb1
2018-02-25 21:56:16 +03:00
levlam
0c9249f7f6 Add updateUnreadMessageCount.
GitOrigin-RevId: 7d8c4d085cd742cd000ce409545c9a034b8ad586
2018-02-25 03:00:17 +03:00
levlam
1a423c15bc Add Td initialization debug.
GitOrigin-RevId: 933972963ae38a19d68bf5371e7bf76dc308f097
2018-02-24 01:28:23 +03:00
levlam
483678a6b9 Remove unused cstdio header.
GitOrigin-RevId: 3530f550b85f244ec7b7274ded224bf7f15a3fa9
2018-02-24 00:29:36 +03:00
levlam
d409d44d7f Remove MessagesManager dependency on sstream.
GitOrigin-RevId: dd20f03bdef240f92ce01a485f3555553e93f113
2018-02-24 00:25:17 +03:00
levlam
412c93b0f1 Send updateNotificationSettings when a chat is unmuted.
GitOrigin-RevId: 739c836bbcdff57200eb488a8d7f5a43163d86e5
2018-02-23 18:35:36 +03:00
levlam
a75b6611d5 Always change unread count through set_dialog_last_read_inbox_message_id.
GitOrigin-RevId: 0c00b8369c4f7e0d4f83d514ce4264bf821acbf7
2018-02-23 04:35:36 +03:00
levlam
d1f1a14a37 Update layer to 76: add messageWebsiteConnected.
GitOrigin-RevId: 8cb5128a7d7eac2afe0622fc901392bf318fa460
2018-02-22 03:36:40 +03:00
levlam
f4afe7f63e Ensure that there is no mentions in private chats.
GitOrigin-RevId: dac0f3f92695cdb4dda1303e5deb0df7c4132423
2018-02-21 16:44:23 +03:00
levlam
9ef7a1ec1d Add missed call to update_channel.
GitOrigin-RevId: e5591a62d9ae123a143d2a4f63ecda7ab587722e
2018-02-21 04:20:47 +03:00
levlam
3119a17518 Improve td_json_client documentation.
GitOrigin-RevId: a2d673c42de4a9fa4d882bcc20fe279084edcb28
2018-02-21 03:53:29 +03:00
levlam
c3fe3f97ec Accept formattedText in getWebPageInstantView.
GitOrigin-RevId: b9f2345eb170da6cbdbb6c70abf11fa682630802
2018-02-21 00:20:45 +03:00
levlam
f0e5accbb4 Fix scheduler_id for GetHostByNameActor.
GitOrigin-RevId: fca68b68bfddb750e191d9d2479418149b5cf250
2018-02-20 20:16:17 +03:00
levlam
d23f21abb0 Move fix_text_message implementation to MessageEntity.cpp.
GitOrigin-RevId: 24e1a7d780f5cbef62f6b2df9b4df042ab89feea
2018-02-20 05:41:17 +03:00
levlam
e936bc0130 Add set_dialog_is_pinned(DialogId) function.
GitOrigin-RevId: ba1973e459a8db3e1bfd5e433dbac40e965353e1
2018-02-20 04:47:55 +03:00
levlam
d7f48f849a Fix repeated call to on_send_message_ok.
GitOrigin-RevId: c6eb79cf4dd37657e3ef50a5597938c4a02ca9af
2018-02-20 04:17:06 +03:00
levlam
d7377b2a20 Better condition for dropping messages with message_id < 1.
GitOrigin-RevId: d9e0f45c96bebfc85c6493f46166d27879674b79
2018-02-20 03:45:17 +03:00
levlam
2576b10082 Fix failed to send message message_id.
GitOrigin-RevId: 9fba0bd1fb7ce8d396c0012c9537155dc20f1054
2018-02-20 03:14:47 +03:00
levlam
b676810b50 Use get_url_file_name whenever appropriate.
GitOrigin-RevId: 4a1f408424883c56d2017f4239cae01987bd39c0
2018-02-20 02:29:19 +03:00
levlam
d475864012 Fix suggested name for generate, local and URL files.
GitOrigin-RevId: 2f203b2964f4b7da08346a7147e51af027baa2d2
2018-02-20 01:28:06 +03:00
levlam
d3c980e5d3 Do nothing when the same proxy is set.
GitOrigin-RevId: 69611358667c598a1ce009944cbe21bbdad4b3ad
2018-02-20 00:44:52 +03:00
levlam
20ffe41d80 Better errors for empty TDLib parameters.
GitOrigin-RevId: 166e4fe7208cae59959f49794e3a73602141f050
2018-02-20 00:20:47 +03:00
levlam
3604f1cf54 Add some debug logging.
GitOrigin-RevId: 6bd223bb40b2092f703d62531df13b96cb3e6066
2018-02-19 23:21:53 +03:00
levlam
0c9eb44038 Rename FileNode.name to remote_name.
GitOrigin-RevId: 578a0ae7728ef97b35dc8d5bcbbe7c2456a3dd6c
2018-02-18 19:29:44 +03:00
levlam
186bffc0b5 Fix BlackBerry spelling. Improve documentation.
GitOrigin-RevId: affe187a17c23125773567c8eab6655c11ec0fb4
2018-02-17 15:32:14 +03:00
levlam
269cf358e0 Fix some spelling.
GitOrigin-RevId: 102622d5c1871a52d6b229f708df6305006f6137
2018-02-17 02:54:44 +03:00
levlam
617435c557 Fix can_be_forwarded flag for expired messages.
GitOrigin-RevId: 2e693cf8b25ebc419230bfe0d2c7aad145f4708a
2018-02-17 02:16:24 +03:00
levlam
143ff2364f Update list of TLDs.
GitOrigin-RevId: eaa4ce74e50836bfe9204f90cd6dd316de10183a
2018-02-17 01:29:13 +03:00
levlam
4cc9b7b34b Use send_closure for calling send_result/send_update in more places.
GitOrigin-RevId: 1b084e4e457d4c0a6d1a793557bf974e8a569f67
2018-02-17 01:00:22 +03:00
levlam
b171be4331 Fix warning.
GitOrigin-RevId: 263924f849fd64b5d72c6b0842385d8b27677b98
2018-02-16 05:41:37 +03:00
Arseny Smirnov
e45d6a386c Optimize check_encryption
GitOrigin-RevId: f42399a9f52e248ea88d0a44d2f2f17d5aaf2ae9
2018-02-15 08:57:06 +03:00
Arseny Smirnov
34d46fb58c SecretChatActor bugfix
GitOrigin-RevId: 13daf2ca4e436b5e68be674daeb7d8adb58b39f4
2018-02-13 20:22:23 +03:00
levlam
b72fd09756 Fix get_replied_message.
GitOrigin-RevId: de539d5bf3f676ad67805524b7b61d60cb4f5cc3
2018-02-14 08:51:35 +03:00
levlam
841d5a1d20 Fix get_replied_message.
GitOrigin-RevId: 3199073da8ad8de3be08c103e48abb93caed550f
2018-02-14 08:19:50 +03:00
levlam
c407c507ad Fix some std:: namespace function usages.
GitOrigin-RevId: f867d613f9f86fa25a2a7ead29c0a7dadfb8402d
2018-02-14 00:41:45 +03:00
levlam
18b09b4ab1 Fix some logging.
GitOrigin-RevId: 08549f79a7ebb5b1b0b2ab9d13ab591f78103e6b
2018-02-14 00:28:16 +03:00
levlam
cc9369d49d MessagesManager::fix_new_dialog.
GitOrigin-RevId: ae0f68c634031d58660b68e4f3360d017935547d
2018-02-14 00:17:00 +03:00
levlam
24b3998662 Fix installed sticker set list.
GitOrigin-RevId: 34c6e87b79d3626bb4d51d85753d8f652faafcd5
2018-02-13 23:41:37 +03:00
levlam
471bca8da0 Replace CHECK eith check.
GitOrigin-RevId: 6614933068233bc485f9282cc318289ce18bfd3b
2018-02-13 22:33:02 +03:00
levlam
d6e9386ca8 Always wait for mailbox in MessagesManager just in case.
GitOrigin-RevId: edd7c3e794a8ba7c359e780835180d07bddd7ae3
2018-02-13 20:00:40 +03:00
levlam
fb6e5883ee Better debug.
GitOrigin-RevId: 3e830f42a00a12ce0f27bf3306346fbdd747867b
2018-02-13 18:40:52 +03:00
levlam
68eea6e5bd Trying to fix last_new_message_id.
GitOrigin-RevId: 13b336c88be9de4340feb4930741e22f2789de60
2018-02-13 18:24:56 +03:00
levlam
341c50f0e3 tg_cli: smtp?f?.
GitOrigin-RevId: 9ac8040c3f789116d4112cc5b0f441fdb10d502d
2018-02-13 17:01:30 +03:00
levlam
ba83c2c5fc Fix call to GetNotifySettingsQuery.
GitOrigin-RevId: 377df0fdce5245fb3a880fca19261411d322cec2
2018-02-12 15:20:18 +03:00
levlam
4bd61bdc86 Fix CE.
GitOrigin-RevId: 5f9f30f6d6c67307741cc4623d05e7f2caf53a47
2018-02-12 14:46:57 +03:00
levlam
cab1038f62 Fix include.
GitOrigin-RevId: 942ebe1d01608f33b30fccc5e52a88ed698a49d0
2018-02-12 13:54:27 +03:00
levlam
a6ab35e616 Replace std::max/min with td::max/min.
GitOrigin-RevId: 56fb21194e995cbb37b3ebb5caed689c10320b8d
2018-02-12 13:37:54 +03:00
levlam
24c873884f AuthData.cpp.
GitOrigin-RevId: 8ca44a4d07591d785b571e8847acdc6ee3a45638
2018-02-12 12:28:14 +03:00
levlam
f4069240e5 Periodically ping server by bots.
GitOrigin-RevId: 3e173e32d564f50c352b96a6ad2d04b7ec72af58
2018-02-11 21:33:32 +03:00
levlam
be5d7a7059 Add warning when date is greater than known server time.
GitOrigin-RevId: 365fe5f127671336a633a2ca8fab10e3ea313e2b
2018-02-11 20:21:18 +03:00
levlam
4a3a5e1a50 Disable read messages for bots.
GitOrigin-RevId: b6e2d6a75296e6029db66960fceb69b568557e92
2018-02-11 19:55:46 +03:00
levlam
2cd12d5049 Add source to get_message_entities.
GitOrigin-RevId: af699950241416adb082a08a8f6c4e106f0fb24d
2018-02-11 19:43:58 +03:00
levlam
cc24f0edcc Silence forward info change warning when only author_signature changes.
GitOrigin-RevId: a0962b6e52c473902208ba84f9a6751889254c17
2018-02-11 19:25:53 +03:00
levlam
6b927449eb Fix some includes.
GitOrigin-RevId: 08add4bab90bb23e0e71340ac647ce8cafc4b900
2018-02-11 18:58:18 +03:00
levlam
6e3cbf42dc Remove calls to Logger.printf.
GitOrigin-RevId: 3b5452fc4bd705ce5cf98d360247ec0146923e2d
2018-02-11 17:07:16 +03:00
levlam
e3867152e7 Silence now possible warning.
GitOrigin-RevId: 1b431d3d20c512239445f388934eba14bd8f9522
2018-02-10 04:14:27 +03:00
levlam
df4f8b0809 Better locale changing.
GitOrigin-RevId: 51700edad491f43264769b932961a3eae1c7fd34
2018-02-10 00:52:03 +03:00
levlam
6277672f3e tg_cli: better locale changing.
GitOrigin-RevId: 1c8c5290c49687174df5a77d50bf9398b3c285c6
2018-02-09 20:02:01 +03:00
levlam
3abe871746 Set nosound flag for InputMessageVideo.
GitOrigin-RevId: b5706f621abe629360b5cacd3106c5764f3744a8
2018-02-09 19:35:30 +03:00
levlam
c0223de330 Fix handling of requests with the same id.
GitOrigin-RevId: dd1a173c497139297fcff5197a3e9762674a8274
2018-02-09 18:59:13 +03:00
levlam
4614933a1e Fix closing Td before initialization.
GitOrigin-RevId: fcdb17b70d2dc0ac2f18dfe98aa3bb535ce50829
2018-02-09 13:29:50 +03:00
levlam
7c4ecdf650 Better getChatPinnedMessage.
GitOrigin-RevId: 092ac37109dd8e73182dd4b11a98ffe777841dc4
2018-02-09 01:54:39 +03:00
levlam
85da530056 Fix getRepliedMessage.
GitOrigin-RevId: afc96585c23b0bbc6c2a51f0b431ae92287901eb
2018-02-08 15:54:25 +03:00
levlam
607a485bdf Remove variation selector-15 from emoji just in case.
GitOrigin-RevId: 843a05314c7f993963d721b7c149a0a37d0531ac
2018-02-08 14:42:59 +03:00
levlam
6618f507bf Fix missing-field-initializers warnings.
GitOrigin-RevId: afab2728f52c64ddbf8d2c2bf24eda3882ad471e
2018-02-08 01:15:30 +03:00
levlam
99c3946d41 More connection_recoverer logging.
GitOrigin-RevId: c86cdef27ec3beacfe6883a100d95a36019a902b
2018-02-07 23:48:40 +03:00
levlam
154022ebfe Update layer 75:
- Add connected websites support.
- Add flag supports_streaming to video and inputMessageVideo.
- Add new methods for message loading: getRepliedMessage and
  getChatPinnedMessage.

GitOrigin-RevId: 1dc5d367e27722fe9c8d2765f62ed80176eea2ce
2018-02-07 02:31:38 +03:00
levlam
ee59648564 Update inputSingleMedia constructor.
GitOrigin-RevId: e0c8deb905309da2a6427a9e354d9e1e01c4827f
2018-02-05 19:32:04 +03:00
levlam
3078da75b3 Ignore failed file directory creations.
GitOrigin-RevId: 76549caf032e2224e802c8effb0c026593939eb0
2018-02-05 03:42:38 +03:00
levlam
3146ccee03 Fix binlog events applying order.
GitOrigin-RevId: f0e428a76e4ff0ff5f5ca99666710e0aa8ff2ee2
2018-02-05 03:26:04 +03:00
levlam
63ec560e82 Optimize FileNode size by moving GenerateLocation to unique_ptr.
GitOrigin-RevId: b98aedd415ff779a62becbba86c4c967d3aba4f7
2018-02-04 20:27:05 +03:00
levlam
6c706f45e7 Increase TDLib version to 1.1.1.
GitOrigin-RevId: 0ba6d376f892d751dc74a4f0dbf9aaeb09f484ca
2018-02-04 00:59:09 +03:00
levlam
79df9bac53 Accept slice in to_double.
GitOrigin-RevId: 3e68b84972a15404ab6ec43b6c157289487b3a5b
2018-02-03 23:01:33 +03:00
levlam
9d5580f315 Locale-independent to_double and from_double conversions.
GitOrigin-RevId: 997ec58422c4128857d395fa49c46ee0605afca9
2018-02-03 22:40:06 +03:00
levlam
35d039f42f Add some debug logginh.
GitOrigin-RevId: 462cf5c2f80f708ae2494b037538241f31d08ca3
2018-02-03 18:41:10 +03:00
levlam
b9be89eff9 Ignore non-personal reply markups.
GitOrigin-RevId: 6dfc3d93ea3a1fdfa8a314e64f89498e050ab34b
2018-02-03 16:38:02 +03:00
levlam
da4714b3ca Unify include order.
GitOrigin-RevId: 981c4788511b9b286e954b2f85a7263b8baf8566
2018-02-03 15:58:18 +03:00
levlam
cc091f0a2c More verbose logging in on_get_contacts_finished.
GitOrigin-RevId: 07de09f9ac052dd221645f97b28db884e1fc4970
2018-02-03 03:17:36 +03:00
levlam
7927df3a65 Fix C typedef syntax.
GitOrigin-RevId: 724e9c778326e8b6f2948d6a4ad0c683c2faf890
2018-02-03 02:54:54 +03:00
levlam
5cecb37e8b Fix migrated_to_channel preloading.
GitOrigin-RevId: d87246857b4a6e7d429e8e9dd835ca0678f44a2d
2018-02-03 02:48:50 +03:00
levlam
a9ed429205 Add source to get_*_id_object.
GitOrigin-RevId: 4d3016274a22be4a59ee088ad6f3d9c297128a08
2018-02-03 02:05:11 +03:00
levlam
c9c1586d0a Add add_message_to_dialog debug.
GitOrigin-RevId: 1659b341c02f36efb30350bcca5080dc6b0de719
2018-02-02 19:51:24 +03:00
Arseny Smirnov
dbe358fb66 FileManager: bugfix(?)
GitOrigin-RevId: 6e2d7ac6b102a628f4a73e85dc2f3b256c956554
2018-02-01 17:12:32 +03:00
Arseny Smirnov
15356c4402 Actor: always_wait_for_maibox flag
GitOrigin-RevId: cb048967998ffc585133d6a58c77674a17766049
2018-02-01 16:01:16 +03:00
levlam
15dce80352 Update version to 1.1.0.
GitOrigin-RevId: 3b228663e428570879271a4ebdcd3252bc0b863f
2018-01-31 21:23:39 +03:00
levlam
ada8ebba24 Return error if send secret message result can't be resent.
GitOrigin-RevId: 354bf97c1a56c33fc1a30de9d054da84c9c68783
2018-01-31 21:20:40 +03:00
Arseny Smirnov
9d9957d53e SecretChatActor: try to answer on send_message with duplicated random_id
GitOrigin-RevId: b06b94b9b3e2bd0fb74cec78fa142f18a4af3c69
2018-01-31 18:14:43 +03:00
levlam
533990288b Fix null caption handling.
GitOrigin-RevId: 54c7067b9b38fe77090a089423c88aabe0969712
2018-01-31 17:45:49 +03:00
levlam
aa3f1eac49 Fix formatting.
GitOrigin-RevId: 32bc29dbf8eb0fe6fa4c4eacad8bb57acc698830
2018-01-31 16:49:28 +03:00
levlam
5c81c0ddb2 Fix handling of null formattedText.
GitOrigin-RevId: 5bcde391288909e3119988cf94e223511cd22db4
2018-01-31 16:48:28 +03:00
levlam
40fa9f1798 Add missed calls to get_user_id_object.
GitOrigin-RevId: 9a305bc6da356ee0eef3dba9c18eb8e72b0ae794
2018-01-31 16:39:11 +03:00
levlam
5262bfa623 Better logging.
GitOrigin-RevId: 4b04b37167eac281d72388ec210059f07d112b56
2018-01-31 16:09:28 +03:00
levlam
42ea21b4f1 Check directory existence before crash.
GitOrigin-RevId: 94ad49d48af766251107b547e9ea1aaedeeb15c1
2018-01-31 15:43:36 +03:00
levlam
04e3bfaf50 Add debug logging.
GitOrigin-RevId: 0efe2f3134b351d633d2df5e78791a07e212cf82
2018-01-31 15:06:19 +03:00
levlam
d5d78dd1d3 Skip unallowed text entities instead of failing request.
GitOrigin-RevId: d5e22ac01e9d03bf62ebfbbb83a681f48b26b30d
2018-01-31 15:01:53 +03:00
levlam
0b344f1c74 Fix MessagesManager::on_failed_dialog_messages_search.
GitOrigin-RevId: c3abb5a134cf1a393eef17b5a59eb3256cbe1656
2018-01-31 14:59:14 +03:00
levlam
e4c464b3c9 More debug info.
GitOrigin-RevId: 85557dfc9cd889dd08e632ad174a414d0256acee
2018-01-31 14:52:44 +03:00
levlam
a51cf7de1b Ignore duplicate messages.
GitOrigin-RevId: 13a400d0fa7ca7eb31a334e4aa3e6c023445fa8c
2018-01-31 13:58:01 +03:00
levlam
536def0382 Fix has_input_media.
GitOrigin-RevId: f10ffc8116028849b3a0afc4ebf7169d707dd794
2018-01-31 12:18:40 +03:00
levlam
e0d303095f Fix creation of forward_from dialog in Saved Messages.
GitOrigin-RevId: ebd2d54986e374ef4b495ea0f3310d9c87a12933
2018-01-31 10:44:54 +03:00
levlam
eea18f732b Fix operator bool and default members.
GitOrigin-RevId: a981ac683c91ae9ba656b036cf1b56ff462f039d
2018-01-31 00:36:53 +03:00
levlam
d7ecc96113 Update layer to 75. Support entities in captions.
GitOrigin-RevId: a633d5d57c52794da0fc1b6de04f4ff1a4ed00fd
2018-01-30 20:06:54 +03:00
Arseny Smirnov
d6102462c2 Safe FileNodePtr
GitOrigin-RevId: 23aa73747a520ec594f7027466ca7ba2e71ee826
2018-01-30 23:04:22 +03:00
Arseny Smirnov
d3e4ad0060 FileNode * -> FileNodePtr
GitOrigin-RevId: 1fa58d17dc71c74c78097105fc4c2acbde3b48a7
2018-01-30 19:54:17 +03:00
Arseny Smirnov
74bdbedb5a FileManager: multiple fixes
GitOrigin-RevId: 2b3da1b87529f8a49e9e4da3e0cd490ae2790926
2018-01-30 15:33:02 +03:00
Arseny Smirnov
c329826c5d FileUpload: restart automatically if part_size is too small
GitOrigin-RevId: bbfe3f0fca2f888f6bd4d2909935903d7c4e3b33
2018-01-29 20:46:06 +03:00
Arseny Smirnov
674a99324b PartsManager: bugfix
GitOrigin-RevId: fd8235abdef01c1a384a44b3040ba76c9f4e0c08
2018-01-29 17:41:40 +03:00
levlam
4bfa015e84 Use send_closure_later in timeout callbacks.
GitOrigin-RevId: 21822d261a31900c94e2a37d3d3afa8240a49fc3
2018-01-30 09:16:25 +03:00
Arseny Smirnov
666faca521 FileDownloader: bugfix
GitOrigin-RevId: dcdbc014b437c1fcd60378aab951877e2726b7b8
2018-01-29 15:27:28 +03:00
levlam
816b02e8c6 Add some debug output.
GitOrigin-RevId: 87f724672d2e21c4c0640b1a4e610acf51260d2a
2018-01-28 23:38:55 +03:00
levlam
b066d34457 Fix suggested file name.
GitOrigin-RevId: 233dae3d49d9801aaad267182f742c0ddaa8ebdd
2018-01-28 21:28:17 +03:00
levlam
62bb714421 Fix some includes and spelling.
GitOrigin-RevId: 489a75315987be488d8caf63a9d3c4f0948ab810
2018-01-28 21:13:25 +03:00
levlam
a47d5d5511 Return whether Log::set_file_path succeded or not.
GitOrigin-RevId: a928f8691ebedfd7451bf8bd7957071786b50349
2018-01-28 19:38:59 +03:00
levlam
662471ea48 Do not fail on unsuccessful FileLog.init.
GitOrigin-RevId: c31bcf155821a973b431234d76aa83e3b0e281a0
2018-01-28 17:48:11 +03:00
levlam
99c5bd9ebb Fix main_file_id_priority.
GitOrigin-RevId: cbcb8da8e9fe702c83cac077d46c7b1dd2f53a3a
2018-01-28 08:35:53 +03:00
levlam
0e41d96335 Send update with unknown basic group/supergroup/secret chat when its identifier is returned.
GitOrigin-RevId: e3c0d7904f02b79abdcbf990db1bdcf8d67591e3
2018-01-27 16:57:59 +03:00
levlam
083eba265b Remove forward header for audio messages.
GitOrigin-RevId: 3e5f7d0885866bdd71f32044682e31f3a922e31e
2018-01-26 23:01:52 +03:00
levlam
dc274ea3b5 Send update with an empty User for unknown users.
GitOrigin-RevId: 470184a7277bbce3855ecad8acf955369370ff76
2018-01-26 22:53:20 +03:00
levlam
aed9a9da6f Ignore duplicate updateContactRegistered even first message is already deleted.
GitOrigin-RevId: e95462cf0e77d2b6835d75017791f409eb1bced6
2018-01-26 18:07:21 +03:00
levlam
55b16026c5 Optionally ignore EACCES in realpath.
GitOrigin-RevId: 8043b753ec748b6ff21accb5efde782047e5cd50
2018-01-26 16:47:46 +03:00
levlam
a40619aa64 Add checks that updates are sent only for existing chats.
GitOrigin-RevId: dfb433cc53b8c0b1fbe19eb90f4ec33ca086a446
2018-01-26 16:22:16 +03:00
levlam
b0be2feebc Fix file stat on Windows.
GitOrigin-RevId: 2ca2bb1605af4e25f24d6c06c0aae5ffb8fe09e8
2018-01-26 16:01:40 +03:00
levlam
f0e660e2aa Better FileLocationSource.
GitOrigin-RevId: bed0d4f52b129560097f0877bd4b3d3511914f27
2018-01-26 15:56:19 +03:00
levlam
e66cc39f95 Fix walk_path on Windows.
GitOrigin-RevId: ca6eaea457018869aa476009acc3fd0f26a40999
2018-01-26 04:06:53 +03:00
levlam
648a8eb0af Fix main_file_id_priority.
GitOrigin-RevId: 35ab98806707c7b62378a90e35422b59c83fc8a8
2018-01-26 01:09:07 +03:00
levlam
ff39e46a64 Optimize structs layout.
GitOrigin-RevId: 2fbb064e9059447539c820bfcd7c43d12bbf73d8
2018-01-25 23:23:01 +03:00
levlam
c5b89c0302 Do not log expected error message.
GitOrigin-RevId: 19b20f3c40073a79de187bc4890f4085812900e7
2018-01-25 19:39:10 +03:00
levlam
3def215ab8 Improve error message.
GitOrigin-RevId: 28cef0b6e6640307d5c56f520673da40a128fa52
2018-01-25 19:24:39 +03:00
levlam
0fa92bdb87 Improve log messages.
GitOrigin-RevId: b33eacf1de0f88c6cc0a8208ab82099cd9e1be83
2018-01-25 19:01:10 +03:00
levlam
43fc1ac4b3 Add source to set_dialog_max_unavailable_message_id.
GitOrigin-RevId: ca01901af04d3d51b20f136a8000e85eced49f11
2018-01-25 18:36:40 +03:00
levlam
e95d3ce469 Imptove log message.
GitOrigin-RevId: bda825192fbd81e89a66142594af8c122b9e3d42
2018-01-25 18:31:33 +03:00
Arseny Smirnov
08c930e170 FileManager.cpp: bugfix
GitOrigin-RevId: b075851e40beb6cafb7921055d4046bec26374eb
2018-01-25 16:11:05 +03:00
levlam
62d8e1fd40 Send updateChatLastMessage when last chat message is changed.
GitOrigin-RevId: 35daed67ef38c3cd3b5f9f46a928614f9a94b172
2018-01-25 15:26:25 +03:00
levlam
b839563484 Add on_message_changed method.
GitOrigin-RevId: a17f882f7b8e8522f602c5236fb5ae4d99fb9d41
2018-01-25 15:00:23 +03:00
levlam
0f8e50b6e2 Send UpdateNewMessage for sent messages.
GitOrigin-RevId: 0911b143a16d626bd7730176f5b5ab72cff159f3
2018-01-25 14:08:19 +03:00
levlam
d59aeee9ca Add debug.
GitOrigin-RevId: 8ef46733fb5284b9a2af93d137ae83f83016d0f5
2018-01-25 12:54:25 +03:00
levlam
cc64bd168b tg_cli: do not call quit twice.
GitOrigin-RevId: 66de7284d0d4bb7006f5be9fdad74150bca3910f
2018-01-24 22:47:59 +03:00
levlam
21285a11e8 Add example of td_set_log_fatal_error_callback usage to Python example.
GitOrigin-RevId: 1809f96a97a7ea84a4c21cbfec11b6f92667449f
2018-01-24 19:11:39 +03:00
levlam
18e7b0816d Add set_fatal_error_callback to public Log interface.
GitOrigin-RevId: 3e7c3bb97d86fa753deae864fdf574de1de1aee4
2018-01-24 18:45:57 +03:00
levlam
644a4ffbea Remove unused field in FileNode.
GitOrigin-RevId: e93f977fcf48192de97a0a69c33aff093406a61d
2018-01-24 02:13:22 +03:00
levlam
db07c587ca Fix views count for forwarded messages.
GitOrigin-RevId: 6d5d4d000ddf5fb0f2175e259e465ccacf40bd15
2018-01-24 01:35:08 +03:00
levlam
fe133efefc Allow to create chats without network request.
GitOrigin-RevId: f17bbe43c58246b6ab2bd48a746b00cae5cd1865
2018-01-24 00:45:26 +03:00
levlam
c23b5ec650 Allow direct calls to Create*Chat without Get*.
GitOrigin-RevId: 89b5cd7b95f458c8b7b108c75d3d8c3664a25d0b
2018-01-21 17:11:09 +03:00
levlam
92c03c4b9a Draft of get_message_content_caption.
GitOrigin-RevId: c01d6c4696315701681c1f50afa4011224a1fa2a
2018-01-20 23:24:07 +03:00
levlam
7f80ee1119 Remove FileLocation.type_ field.
GitOrigin-RevId: ffc776f8975522315543bfac25500592831900d6
2018-01-20 18:16:51 +03:00
levlam
1dffa9608d Make FileLocation.type_ private.
GitOrigin-RevId: 14841a320804eacbeef501df79c94b3bff2f4d0c
2018-01-20 17:57:52 +03:00
levlam
144b2b3aad Make FileLocation.variant_ private.
GitOrigin-RevId: 8360f98d879d860b763eb8ea45ef5bfbdefe3e05
2018-01-20 17:17:58 +03:00
levlam
ef071614b9 Remove EmptyGenerateFileLocation.
GitOrigin-RevId: 83cacf7526496f5ef3a2cb2ae0df19d384bdf04a
2018-01-20 17:06:22 +03:00
levlam
fbb2dc6ccb Use int8 for upload/download priority.
GitOrigin-RevId: 3cc1c006c5ab3989be920b4d6e7e5f49aeaa42ce
2018-01-20 14:47:53 +03:00
levlam
271ab50403 Oprimize sizeof(FileNode).
GitOrigin-RevId: 2ba7e468e4eae6a398418d6cd8db7f2905594535
2018-01-20 13:49:06 +03:00
levlam
5895f817d8 Support missed device token types, better names for 'token' fields.
GitOrigin-RevId: 2bf86a45e30387a8bf0ee0aa93c1c795f402d138
2018-01-19 18:04:16 +03:00
levlam
4a713beee1 Improve td_api::getPublicMessageLink: add possibility to get public link for media album, return HTML-code for message embedding.
GitOrigin-RevId: 1a7c774eec4dfde60d460d097be672120d3f9c54
2018-01-17 00:27:16 +03:00
levlam
bdd8420abd Fix caching of inline query results.
GitOrigin-RevId: bd547385184b9ed7aeb2e9dfd7589512d6620cc1
2018-01-16 22:16:53 +03:00
levlam
57816d2b5f Add td_api::searchChatsOnServer request.
GitOrigin-RevId: 6fc14c6503adcd8146de5eba276280bbd867b809
2018-01-16 21:56:59 +03:00
levlam
5445d920b1 Combine simultaneous SearchPublicChats queries.
GitOrigin-RevId: f51ed555b0758ef0cdf8afb73f276dbeb687e70e
2018-01-16 19:04:36 +03:00
levlam
ee37765a24 Change version to 1.0.2.
GitOrigin-RevId: 3ecbb182624b1ac10b72a34bcff42df24cfeaa5d
2018-01-16 18:06:35 +03:00
levlam
d6fb230324 Add only_if_pending to cancelDownloadFile.
GitOrigin-RevId: 7280c353b4903e565c2e0a2557d50317f6f7c886
2018-01-16 17:41:47 +03:00
levlam
f856a383ad Do not return empty sticker sets.
GitOrigin-RevId: 987492861215c593f7d9b9a6d475f63dd07b6e5e
2018-01-16 15:42:51 +03:00
levlam
2702806a89 Trim backticks in the end of URL.
GitOrigin-RevId: bcb9d7e60044f940de940b7eac4cd3279966cc47
2018-01-15 17:11:27 +03:00
levlam
8eb46f6715 Improve Java binding.
GitOrigin-RevId: ec10cb32f546a1249f4fe5f309eaff7488c31182
2018-01-15 16:47:24 +03:00
levlam
224de03838 Fix updating of chat draft message faster than once a second.
GitOrigin-RevId: d792fefd43c9ddfc91dc0af16c7bc107eacb38ad
2018-01-13 01:21:46 +03:00
levlam
cd7de92955 Better get_next_message_id.
GitOrigin-RevId: bcbc48c0e68ef69a1c7e0359cb7f405a772d8bd6
2018-01-12 19:28:32 +03:00
levlam
ad33af5a2a tg_cli: spvf test command.
GitOrigin-RevId: bf510aedd54e819029a662a27618fd4c07a1dc41
2018-01-10 19:59:38 +03:00
levlam
f82ac0be6e Sandboxed APNS support.
GitOrigin-RevId: 1e3e0460bfe8c52b82c7a30706bf29cb1622d950
2018-01-10 15:11:35 +03:00
levlam
8366ae38cd Fix CHECK.
GitOrigin-RevId: 434142fb5dd2984b8f0b1fb598967f82f7754b26
2018-01-10 14:31:55 +03:00
levlam
3eebb16020 Support other_user_ids in registerDevice.
GitOrigin-RevId: 7d14fc21be9ebb56f3d759746f6a11cd5bd78c87
2018-01-10 03:18:03 +03:00
levlam
c5fb5f1336 Update layer to #74.
GitOrigin-RevId: 98c777a7dba65e49f2206ba016283b3737e80d89
2018-01-10 00:04:18 +03:00
levlam
ed54c461ae Notify file manager when file starts to download.
GitOrigin-RevId: ee21c170dcd7098b734d31fb170e99053f64a139
2018-01-09 14:57:11 +03:00
levlam
0f07341e91 Add interface for changing maximum log file size.
GitOrigin-RevId: dccd781c0467d75a5a396b71e6401e68534919db
2018-01-09 12:40:56 +03:00
levlam
bb3d01da8d Add debug.
GitOrigin-RevId: 38dc34ec5f6cac1d2c1cd4509dfe2f2d5f7bc508
2018-01-06 23:56:30 +03:00
levlam
b30bd40b50 Fix load from database of expired messages in private chats.
GitOrigin-RevId: 2a71ca25ce08d632b7a99cf633c7a16cd639c578
2018-01-06 23:55:51 +03:00
levlam
2bd0b62f9a Disable deletion of old document info.
GitOrigin-RevId: 23a398aede9e1cae62d4e679474f9b82f55cefa4
2018-01-06 23:55:14 +03:00
levlam
0912cf4573 tg_cli: do not generate file when closing.
GitOrigin-RevId: 2cb23d3d15fca315993449a0033b7202e11dd90f
2018-01-06 23:54:38 +03:00
levlam
149c3fdc46 Always check input file_id.
GitOrigin-RevId: aa33312b3961d6cf724f43418084c5a9133d7ad7
2018-01-06 23:54:01 +03:00
levlam
bd145f18ac Synchronously preload web pages for messages loaded in on_get_history_from_database.
GitOrigin-RevId: 496e0a42324cbae0bb83e6c50bf977b4a97d7c2a
2018-01-06 23:53:24 +03:00
levlam
0e4e84235d Fix dialog reply markup if keyboard is in edited message just in case.
GitOrigin-RevId: 105e4ef522dbdb39b279b56cf8832ead6dbc168a
2018-01-06 23:52:44 +03:00
levlam
dc113f2b84 Send updateAuthorizationState after password recovery requested.
GitOrigin-RevId: e01fbf692be70a9de7f2e56e4469fe1795721172
2018-01-06 23:52:06 +03:00
levlam
d990fd21d2 tg_cli: add sanurl commands.
GitOrigin-RevId: 44e9febc12a648b9360f85d8ac7a9b7fd784bb37
2018-01-06 23:51:31 +03:00
levlam
2312c5e1a6 Do not update online status when closing.
GitOrigin-RevId: 0ebca2a7c14d44a5bc4945abe239efbeed18382c
2018-01-06 23:50:51 +03:00
levlam
5cbda834bd Update copyright year.
GitOrigin-RevId: 1369d3af1195221f6ddb9462d5f8b74fb5fef20f
2018-01-02 16:45:09 +03:00
Arseny Smirnov
71d03f39c3 Project import generated by Copybara.
GitOrigin-RevId: 318483224ad6164d9966f731d60cde37039bb2d4
2017-12-31 23:08:40 +03:00