Commit Graph

2684 Commits

Author SHA1 Message Date
levlam
b0329188e1 Add missed checks that methods can't be called by bots.
GitOrigin-RevId: fe43ee49d12f07cae8a30a66bdb956d4064fec25
2019-04-23 03:09:00 +03:00
levlam
142b36b2e6 Update instructions on TDLib usage in a browser.
GitOrigin-RevId: d6c51911e6e116396b598cfb7153ba423df34b03
2019-04-22 17:36:51 +03:00
Arseny Smirnov
eaf48c36a1 Client: set unique tag for each Td actor
GitOrigin-RevId: 7ee500c44703a395aae9151969b6bb8e3aee5ebd
2019-04-23 11:56:32 +03:00
Arseny Smirnov
3193d5c2d9 Client: use several threads for multiple clients
GitOrigin-RevId: 180f2977371a5a13b35ca929918450f88efcfec5
2019-04-23 10:42:46 +03:00
Arseny Smirnov
176e7ea95f tdweb: 0.2.41
GitOrigin-RevId: 7b7e7e1b06a8d53082f079fecff74d193e502fb5
2019-04-22 15:07:31 +03:00
levlam
d1227466fc Fix add_cxx_compiler_flag.
GitOrigin-RevId: fdca6decb5951470e51ecc46cc797877c19a2566
2019-04-22 04:17:07 +03:00
levlam
c62ff7039e Minor fixes.
GitOrigin-RevId: f0ba3402adf4a26d8220d9b5545e9ea18f094e65
2019-04-22 03:46:51 +03:00
levlam
6acdaf056f Fix std::atomic_flag init.
GitOrigin-RevId: a5db747edd902e2e6c7847c7c525bbd2cef0df1a
2019-04-22 03:18:33 +03:00
levlam
7f1bbb476a Silence more expected warnings.
GitOrigin-RevId: 07f017ac8e659c7274c6ae97e0c8fa5191fe4c48
2019-04-22 03:13:55 +03:00
levlam
66b140e208 Better repairing of unreceived yet unsent messages.
GitOrigin-RevId: 2df44cc403a4304b0c9514a806e49c9547475cee
2019-04-22 03:01:40 +03:00
levlam
6c34030d51 Improve logging.
GitOrigin-RevId: 3cd0ce11ea05c9d8eb0074f800c7538cb40b6139
2019-04-22 02:42:47 +03:00
levlam
58f83f7eab Improve logging.
GitOrigin-RevId: b891bd696ca74ecdced0f469e868f7b1776c560b
2019-04-22 02:00:30 +03:00
levlam
c420c82f83 Silence expected warning.
GitOrigin-RevId: 450c390d83f469bcf6a45111389c2fab196f8332
2019-04-22 01:51:53 +03:00
levlam
a26d827a38 Improve logging.
GitOrigin-RevId: 90530bd13523ad525d93d67e0634524c1459c8e9
2019-04-22 01:25:18 +03:00
levlam
b63d6124f0 Silence expected warning for bots.
GitOrigin-RevId: 685f85d18bd346088d6d22e207775e8f58e22a2a
2019-04-22 01:06:24 +03:00
levlam
31ad3ee86f Better support for adding last message from channelDifferenceTooLong.
GitOrigin-RevId: defe315d4d6ea336d6f7929847cbccb501f00521
2019-04-22 00:52:53 +03:00
levlam
59efe757b8 Add sanity check for upper total_voter_count value.
GitOrigin-RevId: 21184b5862f1d6ca75386393ac2ae41e66e45f47
2019-04-22 00:35:42 +03:00
levlam
f3acbcda34 Silence warning about wrong reply_to_message_id on message ID overflow.
GitOrigin-RevId: fd641f59568fab2dce3b02215f6d21d803950982
2019-04-22 00:09:49 +03:00
levlam
e47f1d6947 Add ignore_background_updates option.
GitOrigin-RevId: cefa2fd658d1e0426bd319db2f033b0506e0f8de
2019-04-21 21:17:11 +03:00
levlam
37e7543900 Fix processing secret chats binlog events.
GitOrigin-RevId: 86376ea62b45a00b731e78b42f3af375384c2879
2019-04-21 20:57:49 +03:00
levlam
e77bbc7ffc Add separate field for log size in fast storage statistics.
GitOrigin-RevId: 6e76c7ac995db6599a927d54e8d85aed95f020c0
2019-04-21 19:22:58 +03:00
levlam
9e8046db1c Better td_db() debug.
GitOrigin-RevId: ae65558fb3b76eea4612107bbcb74595bf09f3cb
2019-04-21 19:05:19 +03:00
levlam
ad9ff1e221 Update default value of message_caption_length_max option.
GitOrigin-RevId: ed682441f00cb37d13efdf9931987b3b8dc6e7d6
2019-04-21 02:25:40 +03:00
levlam
87d505ca82 Better error message on wrong fingerprints.
GitOrigin-RevId: dbb859c02758fbb9e77c6c1cb6d42cb13e008c50
2019-04-21 02:24:51 +03:00
levlam
4894992e29 Fix logging out befor logging in.
GitOrigin-RevId: f424f10e00ad57c9c0cb44fc60267f098106a120
2019-04-21 02:23:26 +03:00
levlam
7dddc07dfe Add drop_notification_ids option.
GitOrigin-RevId: f246e68de2b01d0152b71e774da58de44740355d
2019-04-21 00:07:02 +03:00
levlam
adaf85ae70 Support SESSION_REVOKE push notification.
GitOrigin-RevId: 58ffab4a39bb36d973a064e8768d7a5e5dd56af9
2019-04-20 22:39:41 +03:00
levlam
651172ed85 Add is_dark parameter to getChatStatisticsUrl.
GitOrigin-RevId: f2381e8df342efa288fa191df27a79a799f972e2
2019-04-20 20:49:21 +03:00
levlam
d71f8e375e Do not delete files of saved message if the original is still available.
GitOrigin-RevId: 3e0791f44ea1bf54eb9ef584d34ad6698914a2c5
2019-04-20 19:03:44 +03:00
levlam
74ca960636 Add MessagesManager::need_delete_message_files.
GitOrigin-RevId: a80f3af30813063872adb791820205a66990640a
2019-04-20 16:41:32 +03:00
levlam
7072ee111a Improve documentation.
GitOrigin-RevId: f60a1a261b457a5ec2d74e33ad79d77f60943c6c
2019-04-20 16:32:26 +03:00
levlam
0a8aed686b Changed recommended inputThumbnail size to 320x320.
GitOrigin-RevId: 4ab85b9ef6479e7dd375408ad4b703421abdee3a
2019-04-20 02:06:14 +03:00
levlam
510ddb175f Improve logging.
GitOrigin-RevId: a350b0e192781bc13b7e4d91a95bf8d34d9b6777
2019-04-19 12:58:39 +03:00
levlam
a25ac45f08 Fix searching Great Minds by name.
GitOrigin-RevId: 1c9b2731b3b44bda2ca001363e5d4754326ecd70
2019-04-19 02:36:48 +03:00
levlam
3bb65d6ea3 Fix getting of Great Minds by ID.
GitOrigin-RevId: ca1a68ae5c3f2a0be8f0e3f0a80ee96ae7077004
2019-04-19 02:15:17 +03:00
levlam
896e44ac94 Add source to remove_notification.
GitOrigin-RevId: 217f967c61005275e5582ae0705b3b24fc8a73c2
2019-04-19 01:52:15 +03:00
levlam
d2e2aa7f7a Force update when fixing pinned message notification.
GitOrigin-RevId: ab5b92020b0c5698259ff8d660a54708b383a1ee
2019-04-19 01:15:09 +03:00
levlam
60c1fc935c Fix web page database statistics.
GitOrigin-RevId: e0ab106d981d871a9d2f14563cea613253435563
2019-04-19 01:11:58 +03:00
levlam
849a4fbdb1 Fix fixing of is_dialog_pinned_message_notifications_disabled.
GitOrigin-RevId: 28993e5eead5c487b0e3c1efe1d69ba936561e1a
2019-04-19 01:03:33 +03:00
levlam
112c7c0168 Better repairing of unreceived sent messages.
GitOrigin-RevId: 219f58990fab3b076fcafef3d063693147892384
2019-04-18 18:33:36 +03:00
levlam
2ee75b769c Add additional check for is_bot before sending terms of service request.
GitOrigin-RevId: 975ece32f0a7f31cd1b0021b414cc7cf17b907bf
2019-04-18 18:18:20 +03:00
levlam
6b214aa72e Do not recalc unread counts for bots.
GitOrigin-RevId: 953fe4ea9c6991e1a90f8dcd7adbeb5fc69b72d4
2019-04-18 18:12:18 +03:00
levlam
e9bb986d9c Remove unneded UpdatesManager::get_state.
GitOrigin-RevId: d95a262233bd5959950eab8159a589a689d8a4b5
2019-04-18 17:57:57 +03:00
levlam
044a3a6f14 Improve error log messages.
GitOrigin-RevId: f43f89acaeb84898b076a3929eed08e927c1c392
2019-04-18 17:47:37 +03:00
levlam
c37d0d98dd Silence expected warning.
GitOrigin-RevId: a81ef99ffebdf41067318920110fbd7fb554da92
2019-04-18 17:04:05 +03:00
levlam
6d298adf73 Protect from calling getChannelDifference continuously.
GitOrigin-RevId: cee3ac9a146d7f0ad65913cba437d64dc2f71bc9
2019-04-18 16:45:21 +03:00
levlam
0516dfaa32 Better error log message.
GitOrigin-RevId: 5076d85dd60c8d08d7537895a6d925c90f5f0aea
2019-04-18 16:37:16 +03:00
levlam
dde79b4190 Silence warning for getChannelDifference in just created channel.
GitOrigin-RevId: d795b5e68473279733f564b4b1c85e6a3b335aaf
2019-04-18 16:31:46 +03:00
levlam
e6065438de Send UpdateNotification for pinned message notification whenever pinned message changes.
GitOrigin-RevId: 5362e072cd6fef5579db4077a0d875178dc12e76
2019-04-18 04:18:57 +03:00
levlam
e01d26eb2b Rename Google Cloud Messageing to Firebase Cloud Messaging.
GitOrigin-RevId: 56219b2225b6807f517afbc33f866f9b0c7e91c7
2019-04-18 02:23:02 +03:00