Commit Graph

3079 Commits

Author SHA1 Message Date
levlam
42c0eeee6b Improve documentation.
GitOrigin-RevId: a055e28c1213adf0109e0c79059a2679332997df
2019-09-07 18:32:22 +03:00
levlam
1ea7510500 Update build instuctions for MSVC 2019 + 32-bit + new CMake.
GitOrigin-RevId: 4860583c1fc22ef9f40cdcf602fd8e49410254e5
2019-09-07 02:14:49 +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
e6597eca8c Add MultiTimeout test.
GitOrigin-RevId: b8f381ff69971a76110bd7e9d94107012942f02e
2019-09-04 22:38:51 +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
2a717e7cea Improve logging in MultiTimeout.
GitOrigin-RevId: b068febf5f9acf620ae9f69c4a4a708ea32dc4e1
2019-09-04 19:41:30 +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
2f52861c20 Add hex_encode.
GitOrigin-RevId: f5b42ce196f463d9d5cdb4536ee7b829f198583b
2019-09-02 16:49:18 +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
Arseny Smirnov
2b382567be NativeFd: fix CHECKs
GitOrigin-RevId: bbbbad169513c4503eba1c7a98349c98b9e6ed1a
2019-08-28 16:59:50 +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
22f4507033 ThreadPthread fixes.
GitOrigin-RevId: 5c56a443f95beda913c3b1b46eacbfc068271c0e
2019-08-26 17:44:30 +03:00
Arseny Smirnov
80d96550ba ThreadPthread: better hardware_concurrency implementation
GitOrigin-RevId: 4cccfcbf5f6ad5e1293993ff111b8021bb5c70a1
2019-08-26 15:35:08 +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
3e15c89f88 Fix warning,
GitOrigin-RevId: 7226d3025e801d4bf440390c8ecdb87eb485d993
2019-08-23 18:56:01 +03:00
levlam
37de65a941 build.html: implicitly state that dev OpenSSL and zlib packages are needed.
GitOrigin-RevId: 2007fc970d700d21fe47bfe80bba1e5d1a606cb2
2019-08-23 18:34:51 +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
levlam
2e8ec529e9 check_tls: better key generation.
GitOrigin-RevId: 090ac63afcac8a61df92f008f054cc0cfd559d36
2019-08-22 22:26:12 +03:00
levlam
85c64bb3da Add more BigNum::from_binary tests.
GitOrigin-RevId: 0a887d5e59c81020d957100f3fa71ce0442c4674
2019-08-22 20:41:56 +03:00