Commit Graph

7265 Commits

Author SHA1 Message Date
levlam
14637caa64 Improve condition in get_user. 2022-01-01 12:21:13 +03:00
levlam
8085779cdc Update copyright year. 2022-01-01 03:35:39 +03:00
levlam
19f1f66eca Support tg-spoiler HTML tag. 2021-12-31 17:15:11 +03:00
levlam
62d4e339de Fix ContactsManager::get_user with min-user for bots. 2021-12-31 16:33:46 +03:00
levlam
d3e1385b8b Add some debug logging. 2021-12-31 16:21:03 +03:00
levlam
330100d67c tg_cli: use struct UserId instead of as_user_id. 2021-12-31 14:56:57 +03:00
levlam
e8f039ff0a tg_cli: add struct MessageId. 2021-12-31 14:31:43 +03:00
levlam
f32c0417b4 tg_cli: use struct ChatId instead of as_chat_id. 2021-12-31 14:20:34 +03:00
levlam
d64e507724 tg_cli: use get_args instead of to_integer. 2021-12-31 10:25:40 +03:00
levlam
93e9e36dfb Remove unused mutex. 2021-12-31 09:45:37 +03:00
levlam
01fccc430f Use explicit cast instead of 1ll. 2021-12-31 09:36:24 +03:00
levlam
c038507831 Increase MessageUnsupported version. 2021-12-30 18:04:50 +03:00
levlam
feffe4153d Fix ContactsManager::get_user. 2021-12-30 17:39:42 +03:00
levlam
2027819297 Fix ContactsManager::get_input_user. 2021-12-30 15:28:10 +03:00
levlam
fce20df018 Add support for sponsored chats with an invite link. 2021-12-30 14:15:04 +03:00
levlam
68539fe846 Add textEntityTypeSpoiler. 2021-12-28 20:41:37 +03:00
levlam
ed766a4d2f Add flag messageSendOptions.protect_content. 2021-12-28 18:19:19 +03:00
levlam
20a460aeb3 Update layer to 136. 2021-12-28 17:19:18 +03:00
levlam
ca14dfe7ad Update tdweb version to 1.8.0. 2021-12-30 11:45:38 +03:00
levlam
b3ab664a18 Update version to 1.8.0. 2021-12-29 17:38:20 +03:00
levlam
2ac77da2ec Add TDLib 1.8.0 change log. 2021-12-29 14:22:24 +03:00
levlam
29e8df5113 Unify entity variable names. 2021-12-28 18:50:11 +03:00
levlam
99ac6428e9 Improve documentation. 2021-12-28 17:27:11 +03:00
levlam
a69030239c Update version to 1.7.12. 2021-12-28 04:19:41 +03:00
levlam
cbc7149824 Use only basic ASCII in Python example. 2021-12-28 04:06:45 +03:00
levlam
bfd2c6aa32 Use a decorator in the Python example instead of explicit cast. 2021-12-28 04:01:04 +03:00
levlam
bbb4b68699 Fix MSVC 2015 warning. 2021-12-28 02:01:20 +03:00
levlam
ac8ccaf970 Workaround clang 3.4 warning. 2021-12-28 01:47:34 +03:00
levlam
da4ff40f76 Fix SFINAE usage in PromiseFuture.h. 2021-12-28 01:29:54 +03:00
levlam
3303fedabd Speed up actors open_close test. 2021-12-27 19:13:45 +03:00
levlam
84b1d32625 Set log message callback only for fatal messages in Python example. 2021-12-27 18:19:19 +03:00
levlam
a81ab8abba Remove viewSponsoredMessage in favor of viewMessages. 2021-12-27 18:17:02 +03:00
levlam
23d537052e Use unique 53-bit identifiers for sponsored messages. 2021-12-27 16:49:11 +03:00
levlam
218de37c3a Fix messageForwardOriginChat documentation. 2021-12-27 15:03:14 +03:00
levlam
7d5d7eb990 Fix tdweb building. 2021-12-27 14:09:57 +03:00
levlam
26d2ee649d Add some missing new lines at the end of files. 2021-12-27 14:03:50 +03:00
levlam
b4925dc4d2 Mention that sed, tar and wget utilities are required to build tdweb. 2021-12-27 00:34:14 +03:00
levlam
43b1c6365d Reduce maximum concurrency to 4 client threads on OpenBSD, to reserve enough file descriptors. 2021-12-26 12:33:18 +03:00
levlam
aca4cd3b3f Ignore invalid last_database_server_dialog_date_ instead of trying to repair it. 2021-12-25 02:10:06 +03:00
levlam
b24c188ac0 Drop definitely incorrect folder.last_database_server_dialog_date_. 2021-12-24 23:18:40 +03:00
levlam
9cf4851c5b Ignore dialog dates with 0 date. 2021-12-24 22:59:05 +03:00
levlam
7ed5534c83 Use '=' as equality operator in SQL queries. 2021-12-24 22:00:13 +03:00
levlam
680bad4a72 Return default icon name if there is no chosen name in chatFilterInfo. 2021-12-24 20:42:49 +03:00
levlam
5f965a1ea4 Don't try to use "fr-FR" locale, because check for its existence is
broken with musl: https://www.openwall.com/lists/musl/2017/11/08/1.
2021-12-24 15:12:14 +03:00
levlam
f7588582cd Use at most 7 client threads on OpenBSD to stay within default limit of 128 file descriptors. 2021-12-24 14:11:36 +03:00
levlam
d6a9c509ab Fix spelling of deregister. 2021-12-24 13:33:34 +03:00
levlam
d4f5e67243 Fix getSponsoredMessage. 2021-12-24 12:01:24 +03:00
levlam
3e4db584f8 Fix handling of limit == 0 in getChatSparseMessagePositions. 2021-12-24 11:59:44 +03:00
levlam
ac5e1960f9 Workaround clang 3.4 bug. 2021-12-24 01:15:43 +03:00
levlam
8aa95a98ca Fix fwrite usage in tl-parser. 2021-12-24 00:06:14 +03:00