Commit Graph

2315 Commits

Author SHA1 Message Date
levlam
82892f577d Add dc_id and timeout parameters to testProxy.
GitOrigin-RevId: 399efb78e2c82d8ef6f6b854f572e0a6b6a90336
2019-09-23 04:13:42 +03:00
levlam
c03b2396fa Fix MSVC 15.3 warnings.
GitOrigin-RevId: 798de56bef2ea061d996e5bf2feec75f4800c32e
2019-09-08 23:40:30 +03:00
levlam
e2734d4fb6 Update version to 1.5.0.
GitOrigin-RevId: 4fe7ecd3ba5e2a8ba824116b16ddda379a9e3feb
2019-09-08 05:20:42 +03:00
levlam
b52d31e610 Remove unused assignment.
GitOrigin-RevId: dc77bab49db3a5b45ac40b2075fbd8cd3d4d8185
2019-09-08 04:30:14 +03:00
levlam
abb140a714 Minor improvements.
GitOrigin-RevId: a50ba2cc0b47b395d7d7787ad59868d23bf22634
2019-09-08 03:49:16 +03:00
c0119d0b89 Small typo fix 2019-09-08 03:47:18 +03:00
levlam
cb69109ccb Add G() debug.
GitOrigin-RevId: 0ccc0d43c93186add1119fa2d72e8c669cfa6dd3
2019-09-08 03:10:09 +03:00
levlam
55ea23b2fc Remove static functions from NotificationManager.cpp.
GitOrigin-RevId: 326ed290ac673b64ebaa390431c646be57bbd238
2019-09-08 02:27:12 +03:00
levlam
8dbd3bf091 Consider links in captions for Shared URLS.
GitOrigin-RevId: f39f78d64b7d2e64b7b2682f688accbabce2a907
2019-09-08 02:05:55 +03:00
levlam
42c0eeee6b Improve documentation.
GitOrigin-RevId: a055e28c1213adf0109e0c79059a2679332997df
2019-09-07 18:32:22 +03:00
levlam
6cbc02ed1b Minor improvements.
GitOrigin-RevId: 157e77d244b24f3c5af56539d434096f7440e2e8
2019-09-05 18:32:45 +03:00
levlam
2fa2e966c9 Fix saving dialog to database while closing.
GitOrigin-RevId: 2d6ff48ce7587282c12bc0e470e44b1085b46f99
2019-09-05 18:26:42 +03:00
levlam
e7aac1c9b3 Fix misprint.
GitOrigin-RevId: d0af7ebd5e03471dd33b1baf3506b6c72d2518fc
2019-09-04 21:30:27 +03:00
levlam
331a48a898 Fix order of updates applying in secret chats.
GitOrigin-RevId: 3cf1c152c4faf21bc3d1f6cb58fcbce6417623ef
2019-09-04 21:29:27 +03:00
levlam
4d827dbc78 Improve logging.
GitOrigin-RevId: f6535e18bc2e3b65a1def9b787ee5902ff16e5e9
2019-09-04 20:49:24 +03:00
levlam
5b05a6245c Better handling of secret chat push notifiations.
GitOrigin-RevId: 05bf44191339d98d7124ef41bd5bec3fc3ade9f1
2019-09-04 19:17:56 +03:00
levlam
64a77fc9fb Do not prefer animated recent stickers over non-animated.
GitOrigin-RevId: 112145286bd54de5706628bd8ad8d176e5895cf0
2019-09-03 21:41:11 +03:00
levlam
5104759c6a Update private chat permissions when user is received.
GitOrigin-RevId: 3fa3df0aa915130eec167607905b76006dd0b706
2019-09-02 20:32:51 +03:00
levlam
c72ba02d85 Write to the log message when account is banned.
GitOrigin-RevId: 087777440601fc56f9289fc8140497a1553755db
2019-09-02 19:24:50 +03:00
levlam
eeaed834d1 Simplify send_*_phone_code.
GitOrigin-RevId: 72b09f64fab527c8a2363bae72e0e40770f64a83
2019-09-02 18:16:34 +03:00
levlam
ebf9f45eeb Really fix Verify and Confirm for phone number.
GitOrigin-RevId: 1f859c039bdf5a554efa4d328848fafa36c659d4
2019-09-02 18:11:47 +03:00
levlam
0d2df39a2e Silence sendChatAction errors.
GitOrigin-RevId: 138ea490da2a7d59695c58332ac176abeb4efcd9
2019-09-02 17:59:33 +03:00
levlam
a131af270a Do not send typings to channels.
GitOrigin-RevId: c66eb66d3149175114d05222e1cd92de9bc41430
2019-09-02 17:15:33 +03:00
levlam
888b0206ac Fix ProxySecret::get_encoded_secret.
GitOrigin-RevId: 0eeb524a0f710efe8ad04311f61c794345ba56ac
2019-09-02 16:50:19 +03:00
levlam
7ca14d0851 Fix name and expected size of sent files in secret chats.
GitOrigin-RevId: ec2bc60a91ec5f1c7bfc6481a852526a36984962
2019-09-02 04:40:02 +03:00
levlam
926dd7f8f4 Keep photo size type.
GitOrigin-RevId: b07bd8da83b8461d8f0a4314276cc74850c62989
2019-09-02 03:51:41 +03:00
levlam
5bd752da0d Do not log error when closing.
GitOrigin-RevId: 58c6f5a4c0c2bce4f7c9d97992e0a56e45cc0306
2019-08-31 02:52:56 +03:00
levlam
e09979d8ac Increase logevent_id_generation before sending server request.
GitOrigin-RevId: ebb1bdb8b3802b0b2cd6c55c9b85817c219c222a
2019-08-31 02:32:47 +03:00
levlam
6babab76f0 Improve synchronization of unread mentions count.
GitOrigin-RevId: 6fa968ff0e2c2b4865078a275aa5bf1603e70583
2019-08-31 01:56:16 +03:00
levlam
4d72f8c14b Minor fixes.
GitOrigin-RevId: cc03c7e7a507fab2308495ea23f8ef9630a8142f
2019-08-30 04:56:01 +03:00
levlam
e18bce69a1 Register device after every restart.
GitOrigin-RevId: 2eed6eafb1f38a636603b16d400cc4f7505f8a0a
2019-08-29 03:40:18 +03:00
levlam
39e8379a86 Increase version to 1.4.2.
GitOrigin-RevId: 0b3dc7e227f564e4af4fd246cebfdc72353e48ec
2019-08-29 03:30:10 +03:00
levlam
b9ee9d0cf0 Use send_closure_later in timeout_callback just in case.
GitOrigin-RevId: ee1cee46052af875886477583cfc859503e73bcc
2019-08-29 03:16:49 +03:00
levlam
cea15d975a Use send_closure_later in on_user_online_timeout_callback to avoid accidental access to MultiTimoeut.
GitOrigin-RevId: b488a006dcbe17d661e18a6e578c08cd070b84ea
2019-08-29 02:17:52 +03:00
levlam
787e370002 Do not create empty PendingMessageGroupSend to not try to use it in on_upload_message_media_finished.
GitOrigin-RevId: 5210a6072b566d270ec1f3b65183d153adf47ea6
2019-08-28 03:39:47 +03:00
levlam
607f99e40d Fix sending games via bot.
GitOrigin-RevId: 41f71dba07c0d441660650a0f8a01c3f4a94d778
2019-08-28 03:01:15 +03:00
levlam
95c0b286a5 Merge always 'i' photo size to repair access_hash and file_reference.
GitOrigin-RevId: 0373f4ab6c13cc03d94a839d1191c50f8163618d
2019-08-28 02:13:47 +03:00
levlam
31e26a7004 Delete message files in all chats.
GitOrigin-RevId: 34981a807b217e657ff656940117ae9b38936fb9
2019-08-28 00:43:48 +03:00
levlam
f27dac69e1 Fix JSON spelling.
GitOrigin-RevId: ea2602f1e9a808ff1e28eb289936f9608aae7517
2019-08-26 05:06:00 +03:00
levlam
197acde4d4 Fix first letter case in error messages.
GitOrigin-RevId: 004d1535d3fb04e51a088ad43f2386dea05b7c9c
2019-08-26 04:53:22 +03:00
levlam
3306c42e89 Better public key generation.
GitOrigin-RevId: 1fd0b8e824620c90901168a2d12e97b92b76e37a
2019-08-25 01:02:39 +03:00
levlam
eaca53604a Fix MTProto-proxy usage with bots.
GitOrigin-RevId: ed82547b018fe34c5da6a9b3a98ecb9ed7b39049
2019-08-23 19:38:56 +03:00
levlam
ba5ae7229a Mark Bitmask::oompress const.
GitOrigin-RevId: 9dc12cb8b24afe5613e0dbdfca48da30da4c59b5
2019-08-23 19:25:07 +03:00
levlam
82f72d25ac Fix WebPageBlockPhoto::append_file_ids.
GitOrigin-RevId: 5bec98175c3502611fda3f8e168135c127794bdd
2019-08-23 18:31:34 +03:00
levlam
2027cb081b Use Document::append_file_ids.
GitOrigin-RevId: d877b3e75c68388ca34d72b6983528003ffd0ba0
2019-08-23 18:22:14 +03:00
levlam
19de122bea Add Document::append_file_ids.
GitOrigin-RevId: 309a322425278f09781897a8f7679ece73ecf055
2019-08-23 18:03:06 +03:00
levlam
219c35f007 Optimize key generation.
GitOrigin-RevId: e0958f470a15aa83066d20685c15a056d853a42a
2019-08-23 01:54:19 +03:00
levlam
d02f0ffba9 TlsInit: better X25519 key generation.
GitOrigin-RevId: b7efb4bfd1d285a54292e5733c855d7693419af1
2019-08-22 23:09:49 +03:00
Arseny Smirnov
e1046570a3 FileUploader: fix race with partial location deletion
GitOrigin-RevId: fa3cd8ca2cd5b376d557242a6b5f296dc09c90f4
2019-08-20 10:42:21 +03:00
Arseny Smirnov
24f31ad888 FileManager: download big files with unknown size
GitOrigin-RevId: 3f4246f2d61127015138a32f2e93c8f932a81c50
2019-08-19 12:31:25 +03:00