Commit Graph

11300 Commits

Author SHA1 Message Date
levlam
c031818156 Fix available reactions check. 2023-10-26 10:30:01 +03:00
levlam
87f7cdd69f Store MessageFullId in replied_yet_unsent_messages_. 2023-10-25 03:02:26 +03:00
levlam
f0382d8789 Add source to get_chat_member_object. 2023-10-24 15:17:18 +03:00
levlam
7152a5c2e1 Never change result of is_from_mention_notification_group. 2023-10-23 17:02:44 +03:00
levlam
f2345d4fcc Remove redundant actor name from log messages. 2023-10-23 15:57:36 +03:00
levlam
9de5b27db2 Destroy auth keys in non-inited internal DCs. 2023-10-23 15:45:38 +03:00
levlam
f2114f34f5 Add DcId::MAX_RAW_DC_ID. 2023-10-23 15:40:57 +03:00
levlam
d5f7423b52 Add static AuthDataShared::get_auth_key_for_dc(). 2023-10-23 15:26:52 +03:00
levlam
4786d1a931 Forcely disable multiple sessions and PFS while destroying auth key. 2023-10-23 14:58:12 +03:00
levlam
9fdc48ac2d Don't use promise emptiness to check that auth keys are being destroyed. 2023-10-23 14:12:25 +03:00
levlam
66757e2511 Improve field names. 2023-10-23 14:10:39 +03:00
levlam
0db2644011 Remove unused constructor parameter. 2023-10-23 14:05:50 +03:00
levlam
29d7916e4d Disallow unneeded canceling of destroy_auth_key. 2023-10-23 14:00:22 +03:00
levlam
8c10e893c0 Remove unused functions from SessionConnection::Callback. 2023-10-23 13:08:45 +03:00
levlam
b29a2b1ba2 Close connection if receive no answer for destroy_auth_key for 60 seconds. 2023-10-23 13:02:04 +03:00
levlam
1f66cc7b14 Unconditionally return status to recreate connection. 2023-10-23 12:51:50 +03:00
levlam
996ad86984 Fix reaction showing for anonymous administrators. 2023-10-23 11:07:03 +03:00
levlam
87aff1320b Add any_of benchmark. 2023-10-22 01:10:28 +03:00
levlam
605a3af4b2 Add and use td::any_of. 2023-10-21 20:41:31 +03:00
levlam
687c6c40c2 Reload message views more often for newer messages. 2023-10-20 22:33:15 +03:00
levlam
deda76beda Poll at most last 25 viewed messages. 2023-10-20 21:30:09 +03:00
levlam
74396f65a1 Add class StickerListType. 2023-10-19 15:12:26 +03:00
levlam
df1e95a57d Mark that td_api::getDefault*Stickers are allowed only for users. 2023-10-19 14:16:33 +03:00
AYMEN Mohammed
522d54483c Remove outdated ENVIROMENT variable from tdweb worker. 2023-10-19 11:57:14 +03:00
levlam
cabdd047b9 Don't update pts_diff on PTS initialization. 2023-10-19 11:51:33 +03:00
AYMEN Mohammed
50c3bf2e4f
Fix typos. (#2641) 2023-10-18 19:12:31 +03:00
levlam
6c0722ed2e Mark that td_api::setChatMessageAutoDeleteTime is allowed only for users. 2023-10-18 19:08:28 +03:00
levlam
cf423903a0 Add new entities to the fix_formatted_text test. 2023-10-18 13:14:07 +03:00
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