Commit Graph

2942 Commits

Author SHA1 Message Date
Dylan Staley
36e98f31a2 Fix call to log.warn in asmjs mode
When attempting to run tdweb in asmjs mode, a call to `log.warning` is made. However, the correct call is `log.warn`.
2019-09-08 04:37:29 +03:00
levlam
b52d31e610 Remove unused assignment.
GitOrigin-RevId: dc77bab49db3a5b45ac40b2075fbd8cd3d4d8185
2019-09-08 04:30:14 +03:00
Kesha Antonov
8a8c10529a [Bugfix][Example][Web] Fix typo after import 2019-09-08 04:24:56 +03:00
levlam
8ca4ba39c4 tdweb: undo source change to accept Github pull request.
GitOrigin-RevId: b5c73c6c7d412acc649d2a93a7bbab27adeafda7
2019-09-08 04:20:59 +03:00
levlam
449bd82fad Add link to iTeam-co fork of python-telegram.
GitOrigin-RevId: 95a2fef57fbfc3ba63217109013236cd5a25dcf4
2019-09-08 04:03:58 +03:00
Nikita Eshkeev
430ec442f7 Update build.html
Fix the typo "th**e**n" -> "th**a**n"
2019-09-08 03:59:10 +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
8b961d9ed1 Fix SplitSource.php.
GitOrigin-RevId: 72de6bce4845fc6c8bb5422da88905dbf46e4a45
2019-09-08 02:32:04 +03:00
levlam
55ea23b2fc Remove static functions from NotificationManager.cpp.
GitOrigin-RevId: 326ed290ac673b64ebaa390431c646be57bbd238
2019-09-08 02:27:12 +03:00
levlam
435d8b438a Add TDLib 1.5.0 Change Log.
GitOrigin-RevId: 2ea87a5a8a63a0639f547d042b3a953a6f9a186c
2019-09-08 02:16:50 +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
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