Commit Graph

328 Commits

Author SHA1 Message Date
levlam
a48fe6d2a5 Fix gcc warning.
GitOrigin-RevId: e4d1ebf7674a95c4ae292322679575daa08d9924
2018-04-06 19:58:16 +03:00
levlam
f97de8b6ae Fix previous commit.
GitOrigin-RevId: 557b8344a9b6bfb64b0645b2afcaf31607546660
2018-04-06 19:30:36 +03:00
levlam
93db75293d Various fixes.
GitOrigin-RevId: e3a710c085e465c44c850db0b41fae19061c2dc5
2018-04-06 16:26:32 +03:00
levlam
f7826ec41a Check new salt length.
GitOrigin-RevId: 7f49a0e34dcc33586c05dbab66a02017d94633b2
2018-04-06 15:20:20 +03:00
levlam
3c9599b8aa Use secure_random.
GitOrigin-RevId: 49c4ff11b0c165a802cea7cc83783e54e7613d0b
2018-04-06 14:42:42 +03:00
Arseny Smirnov
d584e80cf9 SecureManager: selfie support
GitOrigin-RevId: 79d3fe5c6a0c7f50067c532649fcf54c028e9248
2018-04-05 16:06:03 +03:00
Arseny Smirnov
09600304b9 SecureManager
GitOrigin-RevId: 6728500e0f00dd7b739e862e715a43a4c7eae8e2
2018-04-05 14:18:47 +03:00
Arseny Smirnov
5e79712797 set/get passport data
GitOrigin-RevId: 4fe8b44738ac91524a0d286db5d33d338b5b75e8
2018-04-03 20:49:07 +03:00
levlam
022bd092ce Add selfie support.
GitOrigin-RevId: 3a778f7000dc074a568e1e44de0a7ca3d208f77b
2018-04-03 19:28:37 +03:00
Arseny Smirnov
fb79d6f95a Layer 78. Initial Telegram Passport support.
GitOrigin-RevId: 197994bcf62a76cd963f32a8dd7f5951d7b6588b
2018-03-27 16:11:15 +03:00
levlam
ccf8064821 Fix adding last message in on_get_dialogs.
GitOrigin-RevId: c14c9df93f06caeca26fb5eb63e9d68be00f48f1
2018-04-06 18:19:27 +03:00
levlam
9a54c2439b Add debug.
GitOrigin-RevId: 6c6c5c587d55c50da9b34b45ee57a330427d7b51
2018-04-06 17:45:07 +03:00
levlam
235c137d49 Fix get_full_history,
GitOrigin-RevId: 437b3f8dd1c7172ac156c172f70a473b5a8eebf9
2018-04-06 17:31:16 +03:00
levlam
ea2afdf9a6 Fix td_api::close and td_api::responses.
GitOrigin-RevId: 43c3e6cbec56c8ce69abaaa1cf8aec7221aa3f4c
2018-04-05 23:26:58 +03:00
levlam
ef91b420fc Better error logging.
GitOrigin-RevId: c2f66b083a36a7e38360df5c07a79c9b3f1b5166
2018-04-05 22:33:33 +03:00
levlam
72515a4459 Fix replacing of unacceptable update with updateChannelTooLong.
GitOrigin-RevId: a82f6e6e9e828183aa10690ebe32b983f7433ed4
2018-04-04 23:03:35 +03:00
levlam
46552ce43f Fix error message.
GitOrigin-RevId: 38012e48c7d33d83d229e11d936315560aea40b9
2018-04-04 22:43:43 +03:00
levlam
e9f3bcbd4d Add debug.
GitOrigin-RevId: 3d9d56130f29b1977e00576bb5f3fd5ff84873e9
2018-04-04 22:37:14 +03:00
levlam
8c4461b561 Fix last_database_message_id.
GitOrigin-RevId: 16bf017eb0f7f1be3240bd880a59a1fcb8740367
2018-04-04 22:30:10 +03:00
levlam
3d02f9d13c Update valid short usernames.
GitOrigin-RevId: b2f1afef1641cc08d41cf621ade203f0fecbc9f9
2018-04-04 18:41:35 +03:00
levlam
2b12f092bf Fix first_database_message_id.
GitOrigin-RevId: ce9ac557426af593efce57b6ba06e720d9c871f4
2018-04-04 17:49:45 +03:00
Arseny Smirnov
adcf44d57e FileDb: fix LOG(FATAL) cycle in database
GitOrigin-RevId: 2b5a4cecb33b1d6a37a86d926b3a48b02e2af0af
2018-04-04 16:32:14 +03:00
levlam
58af6888f7 Fix on_get_document.
GitOrigin-RevId: 49bce4edcda4158d43c092dbb570c32aa6434e57
2018-04-04 12:08:31 +03:00
levlam
7626910c45 Fix inline results attributes.
GitOrigin-RevId: 42597e979cd851cdddb1f62f85453dee61f048ab
2018-04-04 10:21:21 +03:00
levlam
1035a5a6c0 Better photo size comparison.
GitOrigin-RevId: 630e32213169122a3c67ac8c35b2e8bc5c2a6ae5
2018-04-03 10:35:04 +03:00
levlam
96b6dfde3f Ensure that updates aren't sent after TDLib is closed just in case.
GitOrigin-RevId: 43777eda7a32dbe956d45685475fa2dae912f968
2018-04-03 03:08:17 +03:00
levlam
04025da201 Fix config parsing.
GitOrigin-RevId: 743eb7389b4230eada48bbe9ed1e4c5ed1aba8ca
2018-04-02 23:37:45 +03:00
levlam
1902a5f0e6 Fix update_message.
GitOrigin-RevId: a3b2cce00a5188328cc577896eceb8bfe130b5f8
2018-04-02 23:32:49 +03:00
levlam
ca5d9a5ceb Better readHistory in secret chats.
GitOrigin-RevId: 9ecb838683600488b8c6fbc0ec1a0574851c3ad3
2018-04-02 04:14:47 +03:00
levlam
e9490eb6e1 Add debug to attach_message.
GitOrigin-RevId: d148fce42b3e59a30119c827b5ef1e736dfaa1a5
2018-04-02 02:30:25 +03:00
levlam
a987ec3b00 Fix add_local_message.
GitOrigin-RevId: 75f794d823f120d7b99af5dd57e54535e791cd96
2018-04-02 02:16:38 +03:00
levlam
69c785c3ba Fix add_message_dependencies.
GitOrigin-RevId: 19f6a6f4065a03ddb0517acd97404544bf9edc2b
2018-04-02 02:03:22 +03:00
levlam
f63a73b6a6 Add MessageEntity.hpp.
GitOrigin-RevId: 424a9918012d2285a04beead79c6edad1fb7ca28
2018-04-02 01:45:51 +03:00
levlam
92e9550ebd Add source to get_input_message_entities.
GitOrigin-RevId: 505c9c96286e7e6026902cbf1b92f1cc3142f5ad
2018-04-02 01:10:22 +03:00
levlam
7e21d35e43 Add more debug.
GitOrigin-RevId: 29d4bceb055f3085d53384ce7e873fc38793bf80
2018-04-02 00:01:09 +03:00
levlam
29b14a707f Fix register_remote.
GitOrigin-RevId: 9bb641fe9e356bc314229ef49cf914c3a40586e0
2018-04-01 23:15:44 +03:00
levlam
f8efdc7b9d Better td_api::addLocalMessage.
GitOrigin-RevId: be6a9d27d3d683fdd7c72bca6bb8ba080bdbfc0d
2018-03-27 17:55:33 +03:00
levlam
948e416d43 Fix need_cancel_user_dialog_action.
GitOrigin-RevId: 63810989c1656a70302959f62ea5e4e356c1e610
2018-03-27 14:58:48 +03:00
levlam
0d69e77689 Better load service notifications user.
GitOrigin-RevId: b98f1652ae0ca2afb506052b28413000dd6b2a74
2018-03-27 03:12:32 +03:00
levlam
2479353230 Move get_service_notifications_user_id to ContactsManager.
GitOrigin-RevId: 451a8db7311a9272d4c6c34653c2a4a82f0cb266
2018-03-27 00:21:53 +03:00
levlam
4e22261c6b Add td_api::addLocalMessage.
GitOrigin-RevId: 795a22f72cfd5edbfa901207045d3b92fac2d3ee
2018-03-26 23:20:56 +03:00
levlam
b6637ccfc5 RSA encrypt/decrypt and warning fixes.
GitOrigin-RevId: 6d556509d911678c1dd7d489132c07f942f3be0f
2018-03-26 21:14:15 +03:00
levlam
372196280c Fix unneded call to on_message_changed.
GitOrigin-RevId: 77ed3c201080d86a37698955ed4d17a9a6429e30
2018-03-26 19:29:35 +03:00
Arseny Smirnov
d3be8e7baa SecureStorage encryption functions
GitOrigin-RevId: 8df89a0fb672d83f9f743aac1bd779dd0635c70e
2018-03-26 17:07:04 +03:00
levlam
a92860a046 Better strip_empty_characters.
GitOrigin-RevId: 35863d02683e75da361712647d643866ae4800cf
2018-03-21 17:54:39 +03:00
levlam
e0924ea333 Fixed several bugs found by PVS-Studio by @SvyatoslavRazmyslov.
GitOrigin-RevId: 768d822ff74740fe71c16ea1bba3c6fb74f01b15
2018-03-20 15:18:16 +03:00
levlam
6d9792e9ea Fix yet_unsent_media_queues_.
GitOrigin-RevId: 6249449a81bede3cc596c8670b66800551df1587
2018-03-19 20:42:45 +03:00
levlam
be48e787bc Update version to 1.2.0.
GitOrigin-RevId: 3f8e087ddc61c7a1aa2db5f51d954eba197d11b6
2018-03-19 16:49:39 +03:00
levlam
1701045b17 Fix inlineQueryResultArticle.
GitOrigin-RevId: c86d62c96820e10c332a649d0f8a4df8845ef0db
2018-03-19 13:57:46 +03:00
levlam
b456895f5b tg_cli: "skip" generation conversion.
GitOrigin-RevId: 85aacd4c915c07ba37a57eac0658bc6288198b32
2018-03-18 13:45:59 +03:00