Commit Graph

1532 Commits

Author SHA1 Message Date
levlam
e9ba66858d Delay non-awaited combined queries.
GitOrigin-RevId: c6f444bf0b78892afd60ab0015f51afde1fc70c3
2019-02-25 20:44:28 +03:00
levlam
a2a864852d Do not store empty promises in QueryCombiner.
GitOrigin-RevId: 5222075d6722008902b0337d2aee369aee0f005c
2019-02-25 19:27:06 +03:00
levlam
40ae8b9fd5 Disallow forwarding of local polls.
GitOrigin-RevId: a83397233c86ff791eda2c1cd39be77ee8488307
2019-02-25 19:19:01 +03:00
levlam
35d3be72f3 Add CHECKs in register_poll/unregister_poll.
GitOrigin-RevId: 5e87cf053b6b174dd20070a8a1b1d45874080ec7
2019-02-25 19:12:35 +03:00
levlam
2c2866b5fc Add simple QueryCombiner.
GitOrigin-RevId: b863a06adff6ed010424ca42be338c410a487ccb
2019-02-25 06:08:18 +03:00
levlam
e22d3b7c28 Return result through Promise from GetFull*Query.
GitOrigin-RevId: 40849a7f4a1febaa35c36b811717b48932da2bff
2019-02-25 04:16:41 +03:00
levlam
6787973944 Simpilfy handling of *Full results.
GitOrigin-RevId: c084e4c389d559b31e74fafc1d4a8cd05983700a
2019-02-25 03:41:19 +03:00
levlam
e27354bf8a Add sanity checks for polls voter count.
GitOrigin-RevId: dba4406f261609a78f4eddd32b93e94793fecc7b
2019-02-25 00:00:17 +03:00
levlam
812398ae7b Fix registering polls in a just sent message.
GitOrigin-RevId: cea331e39437aa6376048fb78a569f3d908f7022
2019-02-24 23:49:55 +03:00
levlam
6af95d721d Deprecate Log in .NET native binding.
GitOrigin-RevId: 08d3321d68a7406dd0e2a5f5877619d9e864ba1e
2019-02-24 19:17:36 +03:00
levlam
3226e859ad Increase version to 1.3.6.
GitOrigin-RevId: a7309b7629746309e13d46662df1b2ded4917d75
2019-02-23 23:05:30 +03:00
levlam
68afd36808 Add logging.
GitOrigin-RevId: d6f3e17e2c37ec4d04c25eb6756cfebfd325ffba
2019-02-23 22:34:50 +03:00
levlam
b574f6a6c9 Fix preauthorization requests documentation.
GitOrigin-RevId: 0bf2bdb5cc50bcff2477884f8ad6c3ea1b614c1d
2019-02-23 21:32:20 +03:00
levlam
a008965872 Fix CE.
GitOrigin-RevId: 7cd3c546317d47d8cc2124c2dd26dcc4246b7669
2019-02-23 20:59:29 +03:00
levlam
0e045bda6e Add td_api::synchronizeLanguagePack method.
GitOrigin-RevId: a5ebac7c658c30c0e760f0176cddf6424348c6e9
2019-02-23 20:27:14 +03:00
levlam
f32ed5c405 Add LanguagePackInfo.is_installed field.
GitOrigin-RevId: c32c51a4584ab98aae3b15a1f31cfd9bff268a79
2019-02-23 18:29:04 +03:00
levlam
58f63d36d6 Fix includes.
GitOrigin-RevId: d633dc842591cd28a03f9fba6974a171926ed229
2019-02-22 23:15:43 +03:00
levlam
075874d729 Poll results polling.
GitOrigin-RevId: 3d70603f2f219f069e2784206adc5d7c7c96ff3f
2019-02-22 22:53:02 +03:00
levlam
f35e43c827 Better names for Actors.
GitOrigin-RevId: 3a5b1ef938a5462b3419df041cb0ae09ef9c97c3
2019-02-22 18:36:34 +03:00
levlam
720df7ff12 Move SecretChatLogEventBase to SecretChatEvent.h.
GitOrigin-RevId: f660d722323297f70dd21e6d4c927936188e7d03
2019-02-22 18:33:14 +03:00
levlam
168add9006 Add td_api::stopPoll.
GitOrigin-RevId: f2d9b5d42e267b9d06591450d69efb323639bb66
2019-02-22 18:09:55 +03:00
levlam
bedd80c23a Remove updateChatIsPinned fix, because it isn't needed.
GitOrigin-RevId: de4a3ae5e9b217e93e45da589f9ee88215c02fd6
2019-02-22 03:36:08 +03:00
levlam
64150108b8 Better fix for updateChatIsPinned.
GitOrigin-RevId: 5ac58bf88cc61daada427f137335e4d14b4c33f9
2019-02-22 03:29:21 +03:00
levlam
559aca6cec Use the same poll options as in Android client.
GitOrigin-RevId: bb8527d1a67872686028c38c27352e2632eb9711
2019-02-21 22:37:15 +03:00
levlam
4a4c8bd534 Add get_message_from_server proxy-method.
GitOrigin-RevId: 02673a150241dc428c4161f87b5dd0651984c4a9
2019-02-21 22:28:53 +03:00
levlam
86f4ff2559 Suppress updateEditNotification if message is not changed.
GitOrigin-RevId: 321bde528dc1ade4e079dc556052b4314dcdced8
2019-02-21 22:19:01 +03:00
levlam
2f8936e94e Add message changed debug.
GitOrigin-RevId: b03803d9d8079eeb397ba7e507f1ad4739d276ee
2019-02-21 22:08:21 +03:00
levlam
d602c3fa1f Reget message from server after DATA_INVALID error.
GitOrigin-RevId: 776fbc4d6290b2fe055c66654d0ab0ba4d649fb8
2019-02-21 21:30:11 +03:00
levlam
4d5fb2902c Unify names of ParserT/StorerT classes.
GitOrigin-RevId: 69df5062e20cc87c0778e1b125ab46575c365377
2019-02-21 20:54:20 +03:00
levlam
e6b0b19ea8 Update comment.
GitOrigin-RevId: 663bef62ac8310fba5aa5c717005a715a21c8985
2019-02-21 19:51:52 +03:00
levlam
0cf1e152fb tg_cli: use td_api::make_object.
GitOrigin-RevId: 8129226fe81e8730b667a8249ef06aecc86ccd66
2019-02-21 19:48:05 +03:00
levlam
11272f6205 tg_cli: combine df and dff.
GitOrigin-RevId: d34c0f5876c011a9258922ad24276bbe97403227
2019-02-21 19:45:42 +03:00
levlam
29446af0c0 Fix sending updateChatIsPinned after setPinnedChats.
GitOrigin-RevId: 174c40209eed399cf524d7335f7815de50e2ee74
2019-02-21 19:32:47 +03:00
levlam
93494cf048 Fix log messages style.
GitOrigin-RevId: f99e2e838220826d3dea7fdc33c43ac9918a5efd
2019-02-21 18:58:20 +03:00
levlam
2e144e6e3e Add setPollAnswer logevent.
GitOrigin-RevId: e73a3c5af859053fa9210eec2874077f47b00a12
2019-02-21 17:40:37 +03:00
levlam
4c6fc2be14 Cancel previous setPollAnswer query.
GitOrigin-RevId: aeffa84d6895199541f449d9e4c344b134d361e4
2019-02-21 15:42:54 +03:00
levlam
b852bd145f Add td_api::setPollAnswer.
GitOrigin-RevId: 40c409ea8b4bba6d1ee0137a5cab8dca889d71dd
2019-02-21 15:23:05 +03:00
levlam
d22dfb2a0c Rename poll answers to options.
GitOrigin-RevId: bcb2b9f6b29b58a3460df18773148eb426935664
2019-02-21 03:52:58 +03:00
levlam
d6dd0a0bb9 Better updating message forward info.
GitOrigin-RevId: a5448c7b63b91f42088e26e00346cc7094ddea92
2019-02-21 02:13:20 +03:00
levlam
bfaaf09b2b Send updateMEssageContent about changed polls.
GitOrigin-RevId: bb61f466759ac27c687411861f8c7452cd5758ce
2019-02-21 01:54:31 +03:00
levlam
7890da322b Better actor names for PingActor.
GitOrigin-RevId: 250b34e07669e2df94597afbef3dec9719258ba7
2019-02-20 05:52:09 +03:00
levlam
026863bf09 Fix get_dialog_message_by_date.
GitOrigin-RevId: efb19a9b3f174f45da9296615d270de2e384f31b
2019-02-20 05:44:54 +03:00
levlam
16d7278db9 Improve logging.
GitOrigin-RevId: 00d69bf29fb339c0eaaffbf9150bc2285b56fd3b
2019-02-20 05:37:04 +03:00
levlam
47512f0838 Force getChannelDifference if receive updateReadChannelInbox up to unknown message.
GitOrigin-RevId: 112fdbe7a95c1d6266d490c6d85efe798d3b59bd
2019-02-20 05:16:16 +03:00
levlam
7ab251c8f5 Do not warn about wrong unread count in left chats (it is known to be wrong).
GitOrigin-RevId: 33d82d5ecc4f9e4e7fefc6bc55b0a30c3c8a0337
2019-02-20 05:06:11 +03:00
levlam
6c728d67e0 Do not repair unread count in left chats.
GitOrigin-RevId: ccee30ac61202671b43f402f72e2247008138680
2019-02-20 05:00:54 +03:00
levlam
9d3bfaa979 Add source to on_update_dialog_notify_settings.
GitOrigin-RevId: a3b6d44d6e4b07ab05f564180ad071c15a6c49b6
2019-02-20 04:30:22 +03:00
levlam
eeceb2c1aa Fix documentation escaping.
GitOrigin-RevId: 691cad7eb078eac7642bd58655a8408d1229b9b1
2019-02-20 04:23:02 +03:00
levlam
95c2bb1730 Fix loading previously pinned message.
GitOrigin-RevId: 63948600bb4dd02c6c31611233b24126ae9912e8
2019-02-19 22:53:17 +03:00
levlam
a73c383c66 Guarantee session order in GetActiveSessions.
GitOrigin-RevId: 9d625e4d9a1c8fb5e2ff5d9aff3591e84ac842f3
2019-02-19 22:36:26 +03:00
levlam
97c62b48f5 Silence some BOT_METHOD_INVALID errors.
GitOrigin-RevId: d248a663a054029d97dd2884582d01ee4dbb68b1
2019-02-19 21:15:08 +03:00
levlam
74b37c56a2 Make Location.access_hash mutable.
GitOrigin-RevId: c035dcdc3873d39436bb5fb9f5680f066c8debe1
2019-02-19 18:52:09 +03:00
levlam
839c1856ff Register polls.
GitOrigin-RevId: 812e3e699a578effab96c4d798d5b74ddf635371
2019-02-19 18:42:59 +03:00
levlam
95f7b129c8 Add on_message_deleted method.
GitOrigin-RevId: 81b8eb1c5e213d4ed1c515bdbe32de407ba8a4bc
2019-02-19 17:33:15 +03:00
levlam
9de3304ec4 Close failed to send polls.
GitOrigin-RevId: 6f9dcde4bbfcbc1fa63ed94641775007e3091706
2019-02-19 17:06:48 +03:00
levlam
5ef99afec7 Add messagePoll support.
GitOrigin-RevId: 41b93b2708285e4051fc01b856aa14a8c8c5c692
2019-02-19 16:45:32 +03:00
levlam
8f33e737e1 Ypdate to layer 91.
GitOrigin-RevId: 15675ae2938bbc64dd288fce11cbd9cab1c714e3
2019-02-18 03:27:35 +03:00
Arseny Smirnov
206fbc0686 downloadFile: add limit:int32
GitOrigin-RevId: 395d29e8383db5c54a3f85a555c4e9648546ef47
2019-02-18 22:08:05 +03:00
levlam
8b233484e0 Do not copy show_preview notification setting to secret chats.
GitOrigin-RevId: 5c02532e5dbd26d1e5d8f9e9afee44ae33b65784
2019-02-18 02:41:53 +03:00
levlam
1c3503f834 Do not copy local settings from ScopeChats to ScopeChannels.
GitOrigin-RevId: 2c24d02ca35012a45e144f28035297ebbeddc85e
2019-02-17 18:25:15 +03:00
levlam
0d1be06cae Minor fixes.
GitOrigin-RevId: 252036493c4c9e94367ef13246bde96b2f89415a
2019-02-17 16:52:34 +03:00
levlam
5d1f93c1c5 Add PhoneNumberManager.h.
GitOrigin-RevId: 7823601e61375efd9e7166add8028d3f5ee6ad1f
2019-02-16 19:01:47 +03:00
levlam
b52a66bf12 Add SendCodeHelper.h.
GitOrigin-RevId: 0e8ad767eb1415856b329f508d8741bf4e7912f7
2019-02-16 18:49:39 +03:00
levlam
8ffcd29f11 Ignore duplicated auth.authorization.
GitOrigin-RevId: 235ebefb1bad5281bdfaa74447571287265ebb6b
2019-02-16 18:35:01 +03:00
levlam
aae567f0c0 Fix GetNotifySettingsExceptionsQuery.
GitOrigin-RevId: b82e7c10304247002bde0ef568c79b38d7e688d6
2019-02-16 05:52:08 +03:00
levlam
c8cfee8d7b Better deduplicating saved animations and recent/featured stickers.
GitOrigin-RevId: 2bc58b3fabbf1cb01727e584036846e6acde0cc6
2019-02-16 05:29:28 +03:00
levlam
71aa152460 Add FileLocationSource::FromBinlog.
GitOrigin-RevId: cedd828bbd79a8cfc04efa0ecb239dafbfed4eab
2019-02-15 23:22:40 +03:00
levlam
24128120cb Add more logging and minor file reference fixes.
GitOrigin-RevId: 42fd08c7e7d8c4d0be12e5cddb352dd874553edb
2019-02-15 23:09:18 +03:00
Arseny Smirnov
49965b4ab7 FileManager: set full_source in set_new_remote_location
GitOrigin-RevId: e088e6858baff79ffc035bb7a05d2ffa5ec77b60
2019-02-15 22:40:09 +03:00
levlam
27a0bbd158 Precerve file remote in check_input_file_id.
GitOrigin-RevId: 52a3d32a606b8907f1ab94b7c10c2413346e66ec
2019-02-15 21:49:02 +03:00
levlam
fd5b5d6e55 Fix cancelling upload file for yet unsent messages.
GitOrigin-RevId: e525b421c7cf1cd98923215dba23966496f2e36c
2019-02-15 19:54:18 +03:00
Arseny Smirnov
75db56dcb3 FileManager: fail upload, when we cannot restore file reference
GitOrigin-RevId: 01f63f9405eb910a7ca09aa4203cb31888a7a8d0
2019-02-15 12:25:21 +03:00
levlam
20c95b93f4 Fixes for force_reupload.
GitOrigin-RevId: 4adb2e498738ab4ebfd22605382cfec150c0de36
2019-02-15 00:19:48 +03:00
levlam
d98aaa571f Add td_api::getChatNotificationSettingsExceptions.
GitOrigin-RevId: f2ea5ced7cb2c62841dd961c4ce433f39c202f92
2019-02-14 21:44:20 +03:00
levlam
fa89033923 Support getOption for "disable_contact_registered_notifications".
GitOrigin-RevId: 5bcfaab65cc7a25fcb8c99ceb8e6fe9c01b714e1
2019-02-14 19:21:54 +03:00
levlam
ec692e98e4 Remove some errors logging while closing.
GitOrigin-RevId: 65e4ca3d0748b4d59511d9024e2eff1367e13cf7
2019-02-14 18:36:16 +03:00
levlam
ab2c23c220 Support server-sde setting for disable_contact_registered_notifications.
GitOrigin-RevId: 963ff137b495bf8784ac434ed76ee165fe918bfc
2019-02-14 18:25:31 +03:00
levlam
e7fc6f4d58 Update layer to 90.
GitOrigin-RevId: d105e3fe4c4c16764a8062915ad20bb9b8e3f815
2019-02-13 19:05:34 +03:00
Arseny Smirnov
82589eeb2f FileManager: force upload, and separate full and partial remote location storage
GitOrigin-RevId: 3bdc218738558012ee6e2a790a553b2f0fea1d62
2019-02-14 14:20:40 +03:00
levlam
25018bdf12 Fix another g++ CE.
GitOrigin-RevId: 1c28f665abe00068b20565f937da695981f9e9fa
2019-02-13 02:51:46 +03:00
levlam
8c3eb953ae Fix some g++4.9 CE.
GitOrigin-RevId: 0d4ed1e684fd623a7ab5849e4f0f7ec2fd182694
2019-02-13 02:29:52 +03:00
levlam
dd398c5968 Fix formatting.
GitOrigin-RevId: 144f91ea1ad0a1f9a8e5e08c4c10f238b066be47
2019-02-13 00:28:47 +03:00
levlam
9b42166c68 Explicitly include common.h.
GitOrigin-RevId: 5ae32c18d0ff18aac36334b494ea526ce7da4a9a
2019-02-13 00:26:36 +03:00
levlam
eb9ead582f Remove unneded includes of td/utils/loggging.h.
GitOrigin-RevId: 82a3b506dba5c9d5267dc0e2504a7093a7fa87db
2019-02-12 23:48:16 +03:00
Arseny Smirnov
61288bd8ab CHECK: fixes
GitOrigin-RevId: 5bccb4634a0c77e159ce3cdf80c37ff8a500bbd0
2019-02-12 20:48:13 +03:00
Arseny Smirnov
20bfcaa979 Use LOG_CHECK where it is necessary
GitOrigin-RevId: a8bd17cc2ee6e43dcea52bb25aef9ee1f91c7ec4
2019-02-12 19:17:20 +03:00
levlam
130b49a524 Various include and other fixes.
GitOrigin-RevId: 68e03e0636cd4cff3e6fa876342ba16453630f15
2019-02-12 19:48:52 +03:00
levlam
c7fff4539f Fix FileLocation.hpp include.
GitOrigin-RevId: 135722eba90cfa17dbd112663f17a7945acd5f72
2019-02-12 17:04:12 +03:00
levlam
5fbdc36af0 Return include FileData.h.
GitOrigin-RevId: 6c0adfc64ca8774cb7b8c72f01f5ad7965d577ad
2019-02-12 16:47:13 +03:00
levlam
54bf7287ec Language pack handling fixes.
GitOrigin-RevId: 0624dab4245208feef2e386479e75761acbe12bf
2019-02-12 06:28:14 +03:00
levlam
ed25f88c19 Prefer InputFile over remote location in get_input_media.
GitOrigin-RevId: 01db2a0669b966ddac59b7f18b62f154cb54a427
2019-02-12 04:50:30 +03:00
levlam
37efb237c7 Fix warning.
GitOrigin-RevId: 9f43d43faad9e19d56f97b506aa6f4c4efb3659e
2019-02-12 04:35:30 +03:00
levlam
a919bfa358 Add td_api::getLanguagePackInfo.
GitOrigin-RevId: 39615978013653178881b584873e04a934fc95b0
2019-02-12 04:15:45 +03:00
levlam
b9b8c24717 Add td_api::addCustomServerLanguagePack method.
GitOrigin-RevId: b1c19ffddf8f0e8c89a602d217b0797f2df8b619
2019-02-11 21:53:10 +03:00
levlam
350e7fd6fc Support new languagePackInfo fields.
GitOrigin-RevId: ad99afe9694458448fddc84803a8beeb33a64a70
2019-02-11 20:57:35 +03:00
levlam
9995e9aa5b Base language pack support.
GitOrigin-RevId: 165941c5074e49f66e5f5aeded77ca0372a0ab3f
2019-02-11 03:45:09 +03:00
levlam
f67138815a Support new updateLangPackTooLong.
GitOrigin-RevId: a3707b2b9d763a0ad58e9e7201b67f7db81cbecc
2019-02-11 01:12:42 +03:00
levlam
eb7268f393 Support resendRecoveryEmailAddressCode.
GitOrigin-RevId: 598b28a56b44640d2f693b9dc26369931b070b16
2019-02-10 23:32:49 +03:00
levlam
de9f167bff Add checkRecoveryEmailAddressCode method.
GitOrigin-RevId: 9601d8227586f988dae26ffb230c6f12f0196193
2019-02-10 23:16:52 +03:00
levlam
0075f91e2e Unify spelling of "expires_".
GitOrigin-RevId: 46aaff38317dd490f9d5a1250e426d94cb8aba75
2019-02-10 03:45:15 +03:00