Commit Graph

11222 Commits

Author SHA1 Message Date
levlam
483b9d73c4 Remove unneeded (void) for empty parameter list. 2023-10-17 23:58:44 +03:00
levlam
f441415da2 Allow to react anonymous group creator on behalf of a supergroup. 2023-10-16 10:35:47 +03:00
levlam
4c64a7522c Disallow reactions by anonymous administrators. 2023-10-16 10:21:21 +03:00
levlam
81d14838c4 Return unordered_map from prefix_get. 2023-10-16 10:11:09 +03:00
levlam
fab24473ca Fix processing of unexpected DestroyAuthKeyRes. 2023-10-15 21:25:07 +03:00
levlam
1c588eda01 Minor improvements. 2023-10-15 01:20:09 +03:00
levlam
9fa5c685f6 Fix split between TdTargets and TdStaticTargets. 2023-10-15 00:57:35 +03:00
levlam
91b57ccceb Suppress logging if failed to find Crc32c, Readline or Git. 2023-10-15 00:23:01 +03:00
Zephyr Lykos
ebd77d5152 Export static targets in a separate file 2023-10-14 23:56:00 +03:00
Zephyr Lykos
5881dde135 Fix finding CRC32C 2023-10-14 23:56:00 +03:00
levlam
90fd69b202 Add UpdatesManager::is_acceptable_message_media. 2023-10-14 22:48:16 +03:00
levlam
7a6d6cf492 Fix max_proxy_id_ initialization. 2023-10-14 03:06:01 +03:00
levlam
8a711b56d9 Limit the number of ignored updates before end of the first get difference. 2023-10-14 03:00:54 +03:00
levlam
f098853eb5 Add descriptions for MessageContentDupType values. 2023-10-14 02:49:50 +03:00
levlam
8abe652785 Don't allow forward of stories to secret chats. 2023-10-14 02:47:49 +03:00
levlam
4ed0b23c9c Update version to 1.8.20. 2023-10-13 00:45:38 +03:00
levlam
12ffa253b3 Remove empty stored proxy from binlog. 2023-10-12 23:48:40 +03:00
levlam
eed6e0bba6 Don't try to init proxies if they have never been added. 2023-10-12 23:41:46 +03:00
levlam
93ddc9c3db Remove support for dropping old PMC-based chat database. 2023-10-12 23:14:17 +03:00
levlam
97a401cd04 Don't use slow BinlogKeyValue::erase_by_prefix for bots on each start. 2023-10-12 22:53:12 +03:00
levlam
861f0edab4 Replace TopDialogManager.is_active_ with !is_bot(). 2023-10-12 22:30:28 +03:00
levlam
a6fbed2ad7 Reserve space for result in BinlogKeyValue::get_all(). 2023-10-12 21:04:09 +03:00
levlam
7644caaf60 Use FlatHashMap in KeyValue. 2023-10-12 20:58:38 +03:00
levlam
b51440c246 Don't use deprecated EXTRA_EXPORTED_RUNTIME_METHODS for Emscripten. 2023-10-12 19:45:13 +03:00
levlam
6b576bb2e3 Don't postpone updates for bots before first getDifference. 2023-10-12 19:26:18 +03:00
levlam
8d2d01abcc Always postpone updateChatLastMessage in getCurrentState. 2023-10-11 00:28:56 +03:00
levlam
844e6f2bfb Pass source as pointer to on_update_message_id. 2023-10-10 23:47:28 +03:00
levlam
367b2af164 Make MessageOrigin fields private. 2023-10-09 21:29:23 +03:00
levlam
94f72a026c Inline last usage of MessagesManager::is_forward_info_sender_hidden. 2023-10-09 21:27:14 +03:00
levlam
21068870f0 Add MessageOrigin::hide_sender_if_needed. 2023-10-09 21:24:22 +03:00
levlam
b10220a495 Add MessageOrigin::has_sender_signature(). 2023-10-09 21:16:06 +03:00
levlam
ae6e8b5a91 Add MessageOrigin::get_sender_name(). 2023-10-09 21:10:09 +03:00
levlam
9e82513802 Add and use MessageOrigin::get_message_full_id. 2023-10-09 20:44:44 +03:00
levlam
7b1408d44e Add and use MessageOrigin::get_sender. 2023-10-09 20:06:23 +03:00
levlam
8da2eba168 Add MessageOrigin::add_user_ids/add_channel_ids. 2023-10-09 19:20:53 +03:00
levlam
c05b5ba3e5 Add MessageOrigin::add_dependencies. 2023-10-09 18:56:21 +03:00
levlam
c86d4d1036 Add class MessageOrigin. 2023-10-09 18:48:01 +03:00
levlam
d9d3697987 Remove imported check from is_forward_info_sender_hidden. 2023-10-09 14:23:22 +03:00
levlam
13d02a8644 Add separate class messageImportInfo. 2023-10-09 12:20:32 +03:00
levlam
b5bf594662 Improve messageBotWriteAccessAllowed class. 2023-09-28 15:15:00 +03:00
levlam
e3d89cf90f Add messageReaction.used_sender_id. 2023-09-28 14:32:08 +03:00
levlam
0fd3c55547 Add addedReaction.is_outgoing. 2023-09-28 13:25:33 +03:00
levlam
7d2d0b9f2e Improve names of MessageReaction functions. 2023-09-27 17:25:03 +03:00
levlam
4a02f50969 Add chatBoostStatus.boost_url. 2023-09-25 18:40:55 +03:00
levlam
9a40ea0f10 Update layer to 165. 2023-09-25 18:16:26 +03:00
levlam
de32750836 Use Dependencies to load data for binlog events if appropriate. 2023-10-08 23:16:59 +03:00
986f1ab469 Fix typo in docs 2023-10-07 11:49:40 +03:00
levlam
4eb9020d53 Use FlatHashSet for disallowed subdomains. 2023-10-07 11:46:47 +03:00
levlam
409dda8d77 Add more t.me subdomains to exceptions. 2023-10-07 11:42:20 +03:00
levlam
06e01a9ebd Avoid 'Access is denied. : 5 : File "server" can't be opened/created for reading' error in tests. 2023-10-06 00:29:08 +03:00