levlam
|
8e9e60d929
|
Restrict sending other messages in interface only if all messages are restricted.
GitOrigin-RevId: 032bd7d91ae66baa85a5d97dc560964e87889f2d
|
2019-07-01 00:17:18 +03:00 |
|
levlam
|
989235317d
|
Fix ee-secrets.
GitOrigin-RevId: 2fdc60284c6dd4accfe3332accaad945811bbe17
|
2019-06-30 23:02:32 +03:00 |
|
Arseny Smirnov
|
620e4221f3
|
tl json: support tl::TL_writer::Mode
GitOrigin-RevId: db6769e80f43f5fa2eedac5414cd2a44f8dcaf3c
|
2019-07-01 10:43:31 +02:00 |
|
levlam
|
c1752528f2
|
Do not save GetChannelDifferenceLogEvent if background updates are ignored.
GitOrigin-RevId: bbcc1028ab24d8f80a85ec2edd93acac41cfa7a6
|
2019-06-27 20:00:43 +03:00 |
|
levlam
|
bec71af259
|
Change outbound link to KnowsPhoneNumber if have phone number.
GitOrigin-RevId: 25e1efef971fe168155f54ed899288ac9b1020e5
|
2019-06-27 19:33:46 +03:00 |
|
levlam
|
dda4c4fc7d
|
Fix check for export chat invite link.
GitOrigin-RevId: aa754d8faa04741ea400450ff58f23ca9443dca8
|
2019-06-27 19:03:02 +03:00 |
|
levlam
|
0c3e3906c7
|
Temporarily disable new pings.
GitOrigin-RevId: ac3d2580d2dd77b333fee51db59f54b92bf24484
|
2019-06-27 18:46:25 +03:00 |
|
levlam
|
7d7e8704ea
|
Better documentation for needed rights to call a method.
GitOrigin-RevId: 40dbd2fa57b2bd11df9e00f17ea10b3c31d5989d
|
2019-06-27 17:06:27 +03:00 |
|
levlam
|
f921abfa86
|
Fix first call to searchEmojis.
GitOrigin-RevId: 56131407cdc354bb2c14ca1a190e4f825c0362e8
|
2019-06-27 15:31:29 +03:00 |
|
levlam
|
8add7cda73
|
Fix registering sticker thumbnails.
GitOrigin-RevId: 24316f587c3e316f0488d5a65dfbef161f621a59
|
2019-06-27 13:58:04 +03:00 |
|
levlam
|
572808eb43
|
Fix parsing old wallpaper remote.file_id.
GitOrigin-RevId: 29ed97ec9ebf31d396a849dbce36a7e710cf3026
|
2019-06-27 03:13:27 +03:00 |
|
levlam
|
d5c7d0a3f9
|
Better source in on_update_user_photo.
GitOrigin-RevId: 4ba2c1fb4f6b1f98045b7e5ed1ca292a09174bd9
|
2019-06-27 03:00:42 +03:00 |
|
levlam
|
d7e7b6291a
|
Update version to 1.4.1.
GitOrigin-RevId: 72edbce5e8a0e3803c9ec2433c1604e2a307ea3c
|
2019-06-27 02:50:09 +03:00 |
|
levlam
|
edf829b2b9
|
Fix .Net generator.
GitOrigin-RevId: ec7bf9f7ce7f39eda70bfb2cd633f2e984d5ccce
|
2019-06-27 02:47:28 +03:00 |
|
levlam
|
da4dd220b8
|
Minor fixes.
GitOrigin-RevId: cbbb78a28570618e5a5c2c04625297678d5ac8cc
|
2019-06-26 23:27:37 +03:00 |
|
Arseny Smirnov
|
9289b61b92
|
ConnectionCreator: use tls init
GitOrigin-RevId: f58530975f30e5341e250478c3f83cabf8947b71
|
2019-06-26 17:27:19 +02:00 |
|
Arseny Smirnov
|
795bf65f8d
|
TlsInit.{cpp,h}
GitOrigin-RevId: acc8f3fd672382392ea9bd82e8426700aec34c04
|
2019-06-26 16:13:07 +02:00 |
|
Arseny Smirnov
|
345f28330c
|
ObfuscatedTransport: support of emulated_tls flag
GitOrigin-RevId: f0ae7ddb21455d4e8d8c3f486744b1b9643bf2d5
|
2019-06-26 15:51:48 +02:00 |
|
levlam
|
8fc2906fbd
|
Check that there are no messages added to chat except last message in fix_new_dialog.
GitOrigin-RevId: 01cea39e085b684c520517278714180553514340
|
2019-06-20 21:03:12 +03:00 |
|
levlam
|
e23ecdf572
|
Allow bots to restrict left chat members without trying to add them.
GitOrigin-RevId: b2884da3cdc524634b23d1d149bdb66bc6fa206d
|
2019-06-20 20:34:08 +03:00 |
|
levlam
|
b498688054
|
Init unknown last_new_message_id to max_unavailable_message_id.
GitOrigin-RevId: cd70cf1e8fb571c69f8cbef5442881567a87b134
|
2019-06-20 18:39:12 +03:00 |
|
levlam
|
a19fa6b724
|
Add debug logging.
GitOrigin-RevId: 0c66f0ab330c4ada8f225f0516b64d4aeba62262
|
2019-06-20 17:18:16 +03:00 |
|
levlam
|
3f77a39a33
|
Add from_message_id check.
GitOrigin-RevId: a69132dc605d89698be2a8fd98f400019ecaf442
|
2019-06-20 16:57:12 +03:00 |
|
levlam
|
c5eace2057
|
FileFd::stat fixes.
GitOrigin-RevId: 36197c4d134e4afe902eef066dc497c03228c271
|
2019-06-20 05:09:03 +03:00 |
|
levlam
|
8cf10f3fd3
|
Add PhotoSizeSource FileType checks.
GitOrigin-RevId: 92685f8d05de9543e381ba753e8fe66dbeee286e
|
2019-06-20 04:53:50 +03:00 |
|
levlam
|
e6cc07a244
|
Split DialogPhoto to Small and Big.
GitOrigin-RevId: 4c5800b4fb80c5f870577f93e9afdebf6b2b16b3
|
2019-06-20 04:35:08 +03:00 |
|
levlam
|
9675331eaa
|
Add PhotoSizeSource file_type checks.
GitOrigin-RevId: e2b79fa71a2547ea5f065bc94691f28a6fe3d904
|
2019-06-20 03:51:37 +03:00 |
|
levlam
|
5022fa26aa
|
Move secret to PhotoSizeSource.
GitOrigin-RevId: 99506d685d672a790e9b276ed14b18ae66792703
|
2019-06-19 03:53:11 +03:00 |
|
levlam
|
e6082852d9
|
External store and parse for PhotoSizeSource.
GitOrigin-RevId: a00393e74bc083de4e2da6d7f25fec051f0d70fc
|
2019-06-19 03:31:04 +03:00 |
|
levlam
|
9a77b26a8a
|
Add PhotoSizeSource.h.
GitOrigin-RevId: 63330f66b3459ecf9b2fdbce4d35faca7542ec3b
|
2019-06-19 03:18:44 +03:00 |
|
levlam
|
59fd30237e
|
Add Variant parser and storer.
GitOrigin-RevId: e6b8e46184f67fed50ce96a58a8ba33c17789c57
|
2019-06-19 02:48:34 +03:00 |
|
levlam
|
c72832b462
|
Fix skipping channel difference for inaccessible channels.
GitOrigin-RevId: 15d78b8ea6b20c7544f121baf9179deacca94d0d
|
2019-06-19 02:44:58 +03:00 |
|
levlam
|
0a380017d4
|
Remove PhotoSizeSource.type field.
GitOrigin-RevId: ef13086515430194150728f7ede427b6c87ba175
|
2019-06-18 19:56:59 +03:00 |
|
levlam
|
c38180f014
|
Move file_type inside PhotoSizeSource::Thumbnail.
GitOrigin-RevId: 0cf016d083bbd39d2a7abf7e2e1c267b4af29e90
|
2019-06-18 19:45:26 +03:00 |
|
levlam
|
b92223a61c
|
Remove OfflineInputPeer.
GitOrigin-RevId: 1a3706ab5c923ba3dfb065c642e103fd9df688c9
|
2019-06-18 19:17:31 +03:00 |
|
levlam
|
b9a1ceec05
|
Remove OfflineInputStickerSet.
GitOrigin-RevId: 144f639f5c22e652a98505856fd4b6327f27deff
|
2019-06-18 18:59:32 +03:00 |
|
levlam
|
984ccd3d75
|
Update remote location when source is changed.
GitOrigin-RevId: fc2f41f1f47cc65b5aadbec14a302d8ab2d03d5f
|
2019-06-18 18:40:46 +03:00 |
|
Arseny Smirnov
|
ff3164ff04
|
Fd::stat returns Result<Stat> instead of Stat
GitOrigin-RevId: 7bdb5f0d65df55424db302e4df060b697d8ee11d
|
2019-06-19 16:31:25 +02:00 |
|
Arseny Smirnov
|
a569a1eac7
|
Attempt to fix binlog_pmc_ bug in ConfigSession::HandshakeActor
GitOrigin-RevId: 6486e37b16a39c4088faa5a2aedc674e6feb2e89
|
2019-06-19 15:56:55 +02:00 |
|
levlam
|
666e668163
|
Add support for is_scam mark for users and channels.
GitOrigin-RevId: f34b2ed15d3cb01f3a3da51673e8aa0ac98ad874
|
2019-06-18 16:41:53 +03:00 |
|
levlam
|
853c0986d9
|
Use static_cast to cast to bool.
GitOrigin-RevId: b62a74880cee8984ddf9607141b350f979000b4b
|
2019-06-18 03:21:55 +03:00 |
|
levlam
|
0ef8053f46
|
Fix pingProxy error messages.
GitOrigin-RevId: 5e5fb84c3970dbaafc037eec550ce7ccc97f5668
|
2019-06-18 03:17:14 +03:00 |
|
levlam
|
a74cda9603
|
Fix warning.
GitOrigin-RevId: f2e991783d1897c23f857a20bf109c138eb96489
|
2019-06-18 02:05:32 +03:00 |
|
levlam
|
c874b1d4b1
|
Add support for separate background for dark theme.
GitOrigin-RevId: e5315453db1a7388f240dbefd4eeac6d8c9929c8
|
2019-06-18 01:39:57 +03:00 |
|
levlam
|
5273b48afe
|
Use 0 as photo location secret.
GitOrigin-RevId: 53c9f487014da1430a58676424a1ab5797469f25
|
2019-06-18 01:33:32 +03:00 |
|
levlam
|
10e2fd28c0
|
Drop sticker set short_name set after receiving STICKERSET_INVALID.
GitOrigin-RevId: e77c9d60fff36263ca85b05212c77e578df5c902
|
2019-06-17 20:09:45 +03:00 |
|
levlam
|
00bf243f37
|
Fix get_chat_event_action_object.
GitOrigin-RevId: dc9796295dc5eb8d30ed2beb974005a9b8c2c3b3
|
2019-06-17 19:46:07 +03:00 |
|
levlam
|
4236b09d39
|
Document that chat photo and sticker set thumbnail can be downloaded only before it is changed.
GitOrigin-RevId: 28edda95836a29a9f1a12afa4f4e0cd4f976a0ef
|
2019-06-17 19:31:52 +03:00 |
|
levlam
|
a5413cf50d
|
Explicitly use unique_ptr<HttpQuery>.
GitOrigin-RevId: 1d729c6b0a3d1deaf3423672414f155492b7a0e8
|
2019-06-17 19:12:54 +03:00 |
|
levlam
|
e3b9772cd2
|
Do not allow to edit temporary notification by non-temporary.
GitOrigin-RevId: d4a6f577d70f80826f22169c3d6a07cf476bd0bf
|
2019-06-17 18:59:35 +03:00 |
|
levlam
|
2ec992b106
|
Check notification message_id before allowing to edit it.
GitOrigin-RevId: f6713e719daa2058996ffe7ee4aad2299a03236d
|
2019-06-17 18:54:35 +03:00 |
|
levlam
|
0a0b875a27
|
More strict check before trying to reuse secret chat notification group id.
GitOrigin-RevId: 588b76ae86fc6c869001627baea05765e9f0044c
|
2019-06-17 18:27:23 +03:00 |
|
levlam
|
b1853310fb
|
Better logging.
GitOrigin-RevId: f9f074d0005649fb63e13ccc0352313c9d5415cc
|
2019-06-17 17:15:08 +03:00 |
|
levlam
|
b75c532f2d
|
Do not trust external documents from secret chats.
GitOrigin-RevId: e0341ce1e2017c6d0b8ac44e18fc9e03de65ccbe
|
2019-06-17 16:46:20 +03:00 |
|
levlam
|
cfc9cc5f28
|
Remove support for two file references.
GitOrigin-RevId: 3bf8031e9cc8bcd95e8cb74246c32d9198991aa1
|
2019-06-17 05:37:57 +03:00 |
|
levlam
|
fa234d0f36
|
Try to load needed data from database before rejecting update.
GitOrigin-RevId: 17f0bbb6442b431dee926244d93913f820281379
|
2019-06-17 04:57:27 +03:00 |
|
levlam
|
b447f4e623
|
Add UpdatesManager::is_acceptable_{user,chat,channel} methods.
GitOrigin-RevId: 6d72de8ca766b145c25e750f71debdfe76d8b440
|
2019-06-17 04:48:29 +03:00 |
|
levlam
|
9ee52310fb
|
Fix processing of inaccessible users.
GitOrigin-RevId: dea00d3a71e4f85b44c73c6620c2edaf39bddf17
|
2019-06-17 04:36:27 +03:00 |
|
levlam
|
11e9923e0a
|
Improve is_acceptable_message.
GitOrigin-RevId: 494c88118bcb8da8e2e8cb956efd28ced3b424b5
|
2019-06-17 04:25:33 +03:00 |
|
levlam
|
4a8411329f
|
Add source to ContactsManager::do_update_user_photo.
GitOrigin-RevId: 086ca18898448cbcd44977965a0f8f0ddc799ead
|
2019-06-17 03:39:00 +03:00 |
|
levlam
|
c06f173444
|
Speed up WebPageBlock constructors.
GitOrigin-RevId: 9a02631f7b1cdb7789bad9ab3b3a306f58498e12
|
2019-06-17 02:55:27 +03:00 |
|
levlam
|
cf4433dc52
|
Use get_photo(telegram_api::Photo) whenever possible.
GitOrigin-RevId: 6ab86f8a10f8a80584cd7a4ada4fbbda19df9d96
|
2019-06-17 02:41:57 +03:00 |
|
levlam
|
e91da22a5b
|
Rename get_photo to get_encrypted_file_photo.
GitOrigin-RevId: 5a9d73b4d3202ed19b646c0bf3fd4ce4d85a9350
|
2019-06-17 02:05:56 +03:00 |
|
levlam
|
bd13368fa8
|
Fix chat invite link photo.
GitOrigin-RevId: bf4fa46201598412804880dd3c19d800c93acd5e
|
2019-06-17 02:00:54 +03:00 |
|
levlam
|
8117f0fb39
|
Support min_access_hash.
GitOrigin-RevId: b2de0f02f75683a08961cdb1c0ceb719574a9e67
|
2019-06-17 01:35:12 +03:00 |
|
levlam
|
88587ac6fd
|
Do not send getChannelDifference in inaccessible channels.
GitOrigin-RevId: 52fd4ff98a2dc3938801aeff4cd77d17aef86cd8
|
2019-06-16 22:40:38 +03:00 |
|
levlam
|
f514508211
|
Add cgecks that messages are received in decreasing message id order.
GitOrigin-RevId: 2223481886d112495f4d2996937720468a7d80c5
|
2019-06-16 22:09:37 +03:00 |
|
levlam
|
97c50d5e58
|
Delete broken sticker sets from database before crash.
GitOrigin-RevId: 2fd0a2351560d56d0df21f38ed58bb4e223cb7fa
|
2019-06-13 23:16:12 +03:00 |
|
levlam
|
e59c88b22d
|
Remove PhotoSizeSource.AsKey.
GitOrigin-RevId: c67a766c4496524393a59ed23801f6a60e5338d0
|
2019-06-13 02:05:00 +03:00 |
|
levlam
|
30e96aa8c8
|
Improve applying chat full participants.
GitOrigin-RevId: 4280f3daa15b4120e81eb3891adced8ff5f97c1c
|
2019-06-13 00:21:30 +03:00 |
|
Arseny Smirnov
|
4b113527b2
|
Files: new remote (persistent) id version
GitOrigin-RevId: 9935066e24e9fff6c4b82b57b55ea2d517119b4b
|
2019-06-12 17:28:00 +03:00 |
|
levlam
|
c856242644
|
Mark constructor explicit.
GitOrigin-RevId: ac21a4de5e4f33036ba8193b7f91e3497ae5888c
|
2019-06-12 16:37:11 +03:00 |
|
levlam
|
e5f068e47a
|
Minor fixes.
GitOrigin-RevId: 49ed5d6671efa92dec7b09fa8e7863e3665ea355
|
2019-06-12 16:05:22 +03:00 |
|
levlam
|
3a2bdc5031
|
PhotoSizeSource fixes.
GitOrigin-RevId: 7e7aa8a0f4a5daf50548f1dc0c4cc8ff7358942d
|
2019-06-12 14:42:06 +03:00 |
|
levlam
|
cd519a5863
|
Do not force can_send_media_messages if can_send_web_page_previews or can_send_other_messages.
GitOrigin-RevId: 59ef4847c76e287b8174ca77e2a1cd286f05b68f
|
2019-06-11 03:23:34 +03:00 |
|
levlam
|
798ac5e3df
|
Consistently use m for Message *.
GitOrigin-RevId: 7cbcba0d72d5d8b0a95046f81ec5bf03f3c6e60e
|
2019-06-11 02:55:07 +03:00 |
|
levlam
|
8a6dcfe5f4
|
Better Message objects in chat event log.
GitOrigin-RevId: 4fc6a93e72646cabf07e05207c0aaf2ae7bf6420
|
2019-06-11 02:30:00 +03:00 |
|
levlam
|
e98dbc91af
|
tg_cli: disable notifications logging to warning.
GitOrigin-RevId: 49c57360f3822bd38ad4c96a50452ad449ca1337
|
2019-06-11 01:07:08 +03:00 |
|
Arseny Smirnov
|
e38afe63cc
|
Add PhotoSizeSource into FullRemoteFileLocation
GitOrigin-RevId: ce4e2c6a4dcd62684aa0916ead9c910afd6e932d
|
2019-06-11 13:10:14 +03:00 |
|
levlam
|
93d45b6502
|
Fix DcId::create.
GitOrigin-RevId: 5eb39fc73ddd0a0d2ddfae312397c0a9ea26cbfc
|
2019-06-10 20:00:18 +03:00 |
|
levlam
|
4c781ebb7b
|
Update layer to 98.
GitOrigin-RevId: 7bc09a6ec637f12b2f90bc1fb6d82903feffc376
|
2019-06-08 12:26:35 +03:00 |
|
levlam
|
0cdac3fd83
|
Add td_api::getEmojiSuggestionsUrl.
GitOrigin-RevId: 5e69942a3996e6e7354567b658eabcb32ccb1b4b
|
2019-05-21 22:44:13 +03:00 |
|
levlam
|
e1d787c7d9
|
Get emoji keywords difference from time to time.
GitOrigin-RevId: 748d8376d6eeee09c2b907854073b0c3d451b8d5
|
2019-05-21 20:42:41 +03:00 |
|
levlam
|
b59abdc9f7
|
Add td_api::searchEmojis.
GitOrigin-RevId: 01540620ce3e0d7e64cb1ec409774a003cfd42e9
|
2019-05-21 18:48:35 +03:00 |
|
levlam
|
8a2c83cf13
|
Update documentation.
GitOrigin-RevId: dc3fb70f5dab7b6f91237bfa751efafeaf78a2b5
|
2019-05-17 18:29:48 +03:00 |
|
levlam
|
df10fcfdd9
|
Reload sticker sets once to get actual thumbnail.
GitOrigin-RevId: f910afa02095e2f098ca28bb0304a14775e08f93
|
2019-05-17 18:08:17 +03:00 |
|
levlam
|
c72f7e4eee
|
Support sticker set thumbnails.
GitOrigin-RevId: 7eed134519d7bf5708691f13a2b1cc79579317ba
|
2019-05-17 17:35:45 +03:00 |
|
levlam
|
05840e3816
|
Fix returning unknown chats in searchChatsOnServer.
GitOrigin-RevId: 5abb26ff59b3d0e18565415c4077f430b592e186
|
2019-05-17 16:46:27 +03:00 |
|
levlam
|
acc17b8d9d
|
Minor fixes.
GitOrigin-RevId: 3861e74381386cff82d688a445de3e8f72494974
|
2019-05-14 17:26:13 +03:00 |
|
levlam
|
7cd835f4fa
|
Update layer to 97. Support new privacies.
GitOrigin-RevId: d78d9e44557cd1ed77fc83c25986764c4547fb35
|
2019-05-14 03:18:34 +03:00 |
|
levlam
|
784aaa13d4
|
Support auto-download settings.
GitOrigin-RevId: f1c41293278fc565777311b0452acdfabb6fdcd9
|
2019-05-14 02:03:05 +03:00 |
|
levlam
|
4f9887b4bd
|
Minor logging impprovements.
GitOrigin-RevId: 54f2abbd0be6d3ee5cd88ac75f14a660c0201359
|
2019-05-13 19:34:23 +03:00 |
|
levlam
|
b4b9778947
|
Add td_api::chatMembersFilterContacts.
GitOrigin-RevId: 2f8f18da88a0de2c5df5bd1d0207d424b6b4e89b
|
2019-05-12 21:49:21 +03:00 |
|
levlam
|
b641382eab
|
Support pinned_message version in basic groups.
GitOrigin-RevId: 75a011aa0ad138f9bf165870603c1be82038bbc8
|
2019-05-12 21:19:03 +03:00 |
|
levlam
|
0dde3350ab
|
Update layer to 96.
GitOrigin-RevId: d131512a567520773467dd8d482eb9675b052691
|
2019-05-12 06:00:24 +03:00 |
|
levlam
|
abc59be319
|
Add td_api::resetBackgrounds.
GitOrigin-RevId: 9ed830d56b31f0c26ba83245f0c53fb2f20fe8da
|
2019-05-12 04:10:18 +03:00 |
|
levlam
|
3bf9bae32f
|
Better fatal error message on message_id overflow.
GitOrigin-RevId: d920ec7f39d43bd8578a49f85567949a14edcff2
|
2019-05-12 02:06:32 +03:00 |
|
levlam
|
a7ef1062a5
|
Do not add chats without notifications to notification settings exceptions.
GitOrigin-RevId: 64006dfd576b4d1483ba22068bc20de409bc0c64
|
2019-05-12 01:44:35 +03:00 |
|
levlam
|
f8ccec8a44
|
Add BackgroundManager::on_installed_background.
GitOrigin-RevId: 41c6ea74772817416342896c83b90a37a2e4f087
|
2019-05-11 23:27:17 +03:00 |
|
levlam
|
a156f3dee6
|
Add td_api::removeBackground.
GitOrigin-RevId: f4a2e293f003207a7f224de7fc8dd3de04a9f942
|
2019-05-10 23:55:26 +03:00 |
|