Commit Graph

2096 Commits

Author SHA1 Message Date
levlam
8059ac0472 Preload chats from database before applying updatePinnedDialogs.
GitOrigin-RevId: 0ebfa4ae3147e16ac7b9b7a812e23792b8a60871
2019-08-06 01:02:09 +03:00
levlam
ad167a48ba Pass Slice to parse_url.
GitOrigin-RevId: e6cd357042b827ca56a11bb377c8b07ccd120230
2019-08-05 12:56:28 +03:00
levlam
84b33cd6a8 Add ConstParser.
GitOrigin-RevId: 58ef5b7e6d2568729228c11a3a495794f98566ad
2019-08-05 12:42:42 +03:00
levlam
5ca0a72ddf Add td_api::getMessageLinkInfo.
GitOrigin-RevId: 34213fdada780b9bb8fe6a6db5a0de3be097b55c
2019-08-05 12:12:59 +03:00
levlam
b4cc4fea93 Check for old files in save_file_bytes.
GitOrigin-RevId: 8e45c35c56a1b4e41b42bbeef3322002be351e69
2019-08-04 00:53:06 +03:00
Arseny Smirnov
ec28b6c48b StorageManager: new query cancels older queries
GitOrigin-RevId: 42d33f212554dce388f7be3b0a69efd756e7b547
2019-08-02 16:05:01 +03:00
levlam
fb3d439dac Send updateDeleteMessages for unknown messages in channels.
GitOrigin-RevId: 2880ebd0a885fb8f8faee4959095bd834f0ddc91
2019-08-02 14:55:47 +03:00
Arseny Smirnov
fcfb0f97d1 SecureManager: handle SECURE_SECRET_REQUEIRED error
GitOrigin-RevId: a8634cb072c058d619ac0ad4a78f29dcfcfabda8
2019-08-02 12:01:55 +03:00
levlam
4afad7985b Fix CE.
GitOrigin-RevId: 18f9d35f1b77a2e50c67f6d07073226b368734ab
2019-08-02 02:14:25 +03:00
levlam
116f0028a2 Make G() safe.
GitOrigin-RevId: d417008f94ce6f8c587561af352d696ef55895b3
2019-08-01 22:12:04 +03:00
levlam
84dba6cd8e Add Debian 10 to build instructions generator.
GitOrigin-RevId: 10a156b2d27bcda835e4177ef09d0d8b5c82c511
2019-08-01 21:47:59 +03:00
Arseny Smirnov
0517c8ff4a SecureManager: reupload file on SECURE_SECRET_INVALID error
GitOrigin-RevId: 93b2fb8a5b48511720efcceabd3055bc0c49409b
2019-08-01 18:26:43 +03:00
Arseny Smirnov
c2c32c4e2b Session: fix key deletion in http connections
GitOrigin-RevId: ddc80efe78a0a11dee7eb21c55d7efdd76a2be1d
2019-08-01 16:03:18 +03:00
Arseny Smirnov
331c8b52c1 FileLoader: add comment about FILE_UPLOAD_RESTART
GitOrigin-RevId: e8fb51da493cacd00af5ec7585cd8a95b605838a
2019-08-01 16:03:11 +03:00
levlam
4531950aaf Remove unused field.
GitOrigin-RevId: 00e6b70cb12fd356f029ee94fb2c3f96e15c8a91
2019-08-01 06:32:49 +03:00
levlam
11c0fcc6ec Do not create documents without file_id.
GitOrigin-RevId: c208baf37b108ffb256c3a39dee0459fc081f017
2019-08-01 03:58:49 +03:00
levlam
108dc0d4f8 Remove END_PARSE_FLAGS_GENERIC.
GitOrigin-RevId: c9a47a56158829aca0572bab1497e3aebcc7216d
2019-08-01 03:40:28 +03:00
levlam
df0d6c7f5e Fix get_chat_admin_rights.
GitOrigin-RevId: 4315835cf6520037004b9c65832babfc4d4e5d9b
2019-08-01 03:11:33 +03:00
Arseny Smirnov
1d570ca85c PartsManager: handle some errors
GitOrigin-RevId: c0f65cce76ece49ec99557503d79da66995e44c8
2019-07-31 18:04:38 +03:00
Arseny Smirnov
4d33451758 PartsManager: restart upload when uploaded size is more than we have locally
GitOrigin-RevId: e307dbd150e97b04c73a9d40556dd26d9e6e4a00
2019-07-31 16:48:59 +03:00
Arseny Smirnov
29b807d660 TRY_END_PARSE_FLAGS_GENERIC
GitOrigin-RevId: c68a348c7466daa7ab3b6b93217585a18458885d
2019-07-31 13:45:32 +03:00
Arseny Smirnov
6ef242ad38 minor
GitOrigin-RevId: 01ead4852dbe67fcd04079049039f11b2f1e15e4
2019-07-30 21:29:52 +03:00
Arseny Smirnov
655add2ec0 PartsManager: some fixes
GitOrigin-RevId: fedd9458f18179cdabef579cdc251f8006a3f61e
2019-07-30 21:27:39 +03:00
levlam
cfe7b95be5 Do not replace known width and height of animated stickers.
GitOrigin-RevId: 0b74a1ffe07608c9d1ac447e5d471cc706894cbd
2019-07-30 19:41:49 +03:00
levlam
6464b302e9 Remove delete_dialog_history_from_server debug.
GitOrigin-RevId: f487ebd62f726c0e2ae8e53c3658081cd474c34f
2019-07-30 19:33:58 +03:00
levlam
2fd851dfe2 Repair sticker set thumbnail if changed.
GitOrigin-RevId: 1b0e2e997338d85249e6eee877ab0483d9826342
2019-07-30 18:43:29 +03:00
Arseny Smirnov
089d73953c FileManager: reload photo on FILE_ID_INVALID
GitOrigin-RevId: defb6736befa35189253f8ac70342be81a607918
2019-07-30 17:42:36 +03:00
levlam
a7005ee358 Add reload_user.
GitOrigin-RevId: f13879bb21e7978f009f5eb8e0f768c089a1061e
2019-07-30 15:10:02 +03:00
levlam
a7d7882931 Fix misprint.
GitOrigin-RevId: 919dcb9bc3d21c4006a24de32dfc1f6e25056e4f
2019-07-30 00:43:08 +03:00
levlam
09aa775fe7 Allow to call CheckAuthenticationBotToken multiple times.
GitOrigin-RevId: ee1f6bd74f0e7d573afade705b47102aa51e5317
2019-07-28 21:17:47 +03:00
levlam
17b1222a9a tg_cli: add minadmin.
GitOrigin-RevId: 9dcc1da628b445a227be556185af1e474c5fd1cf
2019-07-28 20:34:53 +03:00
levlam
66bf58ca0e Fix rights check in generateChatInviteLink.
GitOrigin-RevId: 241f4368ea9baabe479655959f724eb4b591c9e4
2019-07-28 17:36:25 +03:00
levlam
dd3cc765ba Ignore duplicate SetPollAnswer logevent.
GitOrigin-RevId: 93a75f66765c7e578ededa16b03d21385182db3d
2019-07-27 23:16:22 +03:00
levlam
981d2bd8fe Better UTF-8 validness checks for text before parsing.
GitOrigin-RevId: 9578d9fb69da619cee706d61687bf904b9cdf2ad
2019-07-27 23:07:10 +03:00
levlam
d3091e3374 Update td_api::phoneNumberAuthenticationSettings class.
GitOrigin-RevId: 98dd6d4c5a5521e69b3dc51c648c6ca7af1ffae7
2019-07-27 18:16:12 +03:00
levlam
06e587a5f3 Improve documentation.
GitOrigin-RevId: d493d4c9a623acc454c26fb65f96ed521be59c49
2019-07-26 22:38:55 +03:00
levlam
8094d415db Add support for animated stickers in inline bot results.
GitOrigin-RevId: a25f45ef24aad2e92d461718a6f3b0ba101cdd76
2019-07-26 03:40:40 +03:00
levlam
3fac3f7860 Prefer animated stickers in getStickers.
GitOrigin-RevId: 1652ae43c36ebcb69752042cebb5dc8407558c06
2019-07-26 02:54:35 +03:00
levlam
912ab17351 Add cache revalidation for users, chats and channels.
GitOrigin-RevId: 3377a27326ab76d13c89fbe2eb5ef88ce6564e0b
2019-07-26 00:05:16 +03:00
levlam
8d132d9505 Fix CE.
GitOrigin-RevId: 925d3fbd4a7414caffe7269b7283246bdc03d0a2
2019-07-25 00:00:21 +03:00
levlam
527c88ca88 Adjust new chat member status for Bot API backward compatibility.
GitOrigin-RevId: 04bbe38639bde8c7ab0b8bc527b8df833d496c81
2019-07-24 05:33:46 +03:00
levlam
bcacb2c31c Improve Td closing.
GitOrigin-RevId: 9111edb11ffe14ee9fa80942a4201fec94641b56
2019-07-24 00:15:49 +03:00
levlam
ae3c1208ea tg_cli: improve verbosity parsing.
GitOrigin-RevId: b6f6ca9e6bf5e8908e257dd78c71630dfd3e2d0e
2019-07-24 00:02:10 +03:00
levlam
763a88233e tg_cli: minor improvements.
GitOrigin-RevId: e38a7bb448905c2ca87509bc6ddb03cfe98d4ad5
2019-07-23 18:18:57 +03:00
levlam
38e4310b71 Remove standalone Sha256State functions.
GitOrigin-RevId: 5db80ea1902a6fe8a635081a8b050a19528f9f90
2019-07-23 03:50:03 +03:00
levlam
4ee295a29e Use Sha256State directly.
GitOrigin-RevId: 4fbbafbd14c43a551e9c24de65a6feed2b44b09e
2019-07-23 03:20:11 +03:00
levlam
2b7511d07f Rename AuthState to AuthKeyState.
GitOrigin-RevId: 7211994ddf6e267342ba29010328387093549e5c
2019-07-23 02:14:34 +03:00
levlam
98b8929932 Fix includes.
GitOrigin-RevId: 7b62de39f2d62ac8c14c24fb83041c717ba49873
2019-07-23 01:50:12 +03:00
levlam
4a2b76e1ef Fix testProxy.
GitOrigin-RevId: fcce1611113bec089ac3ca20df56eba85895a753
2019-07-23 01:13:20 +03:00
levlam
410d81c55f Remove ProxyInfo class.
GitOrigin-RevId: f5bc2e82ef1017628b11fe9a0d04e75a08f77c25
2019-07-22 14:32:21 +03:00