Commit Graph

11122 Commits

Author SHA1 Message Date
levlam
fb859209c1 Add SetAccountTtlOnServerLogEvent. 2023-09-22 15:06:53 +03:00
levlam
6600f9279e Add SetDefaultHistoryTtlOnServerLogEvent. 2023-09-22 15:03:02 +03:00
levlam
b222f48d05 Add ResetAuthorizationsOnServerLogEvent. 2023-09-22 14:50:44 +03:00
levlam
f2b2f01c33 Add ResetAuthorizationOnServerLogEvent. 2023-09-22 14:40:53 +03:00
levlam
e6fb913798 Add ChangeAuthorizationSettingsOnServerLogEvent. 2023-09-22 14:22:24 +03:00
levlam
df563e781e Explicitly specify TLObjectStorer's template parameter. 2023-09-21 21:31:59 +03:00
levlam
4c8ab2bf29 Send at most 1000 queries in a container. 2023-09-21 21:22:33 +03:00
levlam
14af252795 Improve names of create_*_storer functions. 2023-09-21 21:19:18 +03:00
levlam
254a3bfef0 Remove useless check. 2023-09-21 20:41:11 +03:00
levlam
1e2c0ce814 Rename FullMessageId to MessageFullId. 2023-09-21 19:11:17 +03:00
levlam
0362411550 Minor improvements. 2023-09-21 19:01:17 +03:00
levlam
b4f6e716ac Add source to get_(chat|channel|secret_chat)_force. 2023-09-21 18:56:13 +03:00
levlam
dc4b5aad51 Return nothing from RawConnection::send_no_crypto. 2023-09-21 17:56:21 +03:00
levlam
b44e2ea3fc Add strictly-typed class mtproto::MessageId. 2023-09-21 17:52:33 +03:00
levlam
e47cea5904 Improve SessionConnection::ServiceQuery. 2023-09-21 16:52:21 +03:00
levlam
5334cc8e10 Improve types of vectors in SessionConnection. 2023-09-21 16:47:12 +03:00
levlam
7e65c3d4dd Improve message_id-parameter names. 2023-09-21 16:09:19 +03:00
levlam
1cd71efb03 Improve "container_message_id" variable names. 2023-09-21 15:44:26 +03:00
levlam
ec44b3d16c Improve "invoke_after_message_id" variable names. 2023-09-21 15:40:56 +03:00
levlam
c8e46cae53 Improve method names. 2023-09-21 14:53:33 +03:00
levlam
11c78406c3 Explicitly check returned errors. 2023-09-21 14:47:17 +03:00
levlam
d0d8d74c3e Remove checks out of DownloadManager::remove_file_impl. 2023-09-21 14:37:09 +03:00
levlam
782fc0964f Improve function name. 2023-09-21 14:18:12 +03:00
levlam
a2c8aa7165 Update channel participant count when receiving boost status. 2023-09-21 14:05:40 +03:00
levlam
e3bdd30d91 Improve documentation. 2023-09-20 21:31:02 +03:00
levlam
8fb3fca841 Improve error logging for banned accounts. 2023-09-20 21:28:23 +03:00
levlam
67cf6d7fe5 Don't log not found chats in load_dialogs. 2023-09-20 20:44:21 +03:00
levlam
606ee063d5 Don't try to load recent chats from database right after the database was deleted. 2023-09-20 20:40:34 +03:00
levlam
246f2ca42f Recheck received from the server channels. 2023-09-20 20:34:21 +03:00
levlam
036f37fe43 Simplify ContactsManager::update_created_public_channels. 2023-09-20 19:53:42 +03:00
levlam
154b2cb315 Recheck loaded from database channels. 2023-09-20 19:51:17 +03:00
levlam
cc1b01620b Drop cached channel lists when dialog database is recreated. 2023-09-20 19:09:51 +03:00
levlam
cd7d960ba4 Cache chats to send stories. 2023-09-20 19:07:51 +03:00
levlam
82c702c16d Minor improvements. 2023-09-19 21:59:14 +03:00
levlam
597563b0d4 Make Statistics conversion functions private. 2023-09-19 21:45:22 +03:00
levlam
be63c46992 Move statistics related functions to StatisticsManager. 2023-09-19 21:40:29 +03:00
levlam
d1dae35b85 Add empty StatisticsManager. 2023-09-19 21:24:19 +03:00
levlam
0e56b7e527 Clamp percentage value. 2023-09-19 21:15:10 +03:00
levlam
518f11f40a Log message identifiers as hex numbers. 2023-09-19 21:10:11 +03:00
levlam
6dbec3fda7 Use td_api::error in td_api::updateStorySendFailed. 2023-09-19 19:13:45 +03:00
levlam
6b17c0fdec Use error object in td_api::messageSendingStateFailed/updateMessageSendFailed. 2023-09-19 19:04:56 +03:00
levlam
a19d49a107 Ignore interaction info/chosen reaction updates while having a pending story reaction. 2023-09-19 18:40:15 +03:00
levlam
84e1d5ff1f Add StoryManager::on_story_chosen_reaction_changed. 2023-09-19 14:41:31 +03:00
levlam
48607e18b5 Locally update reaction counts when changing story reaction. 2023-09-19 13:42:13 +03:00
levlam
5a19de8faa Add storyAreaTypeSuggestedReaction.total_count. 2023-09-19 13:09:59 +03:00
levlam
fde0c8a0b1 Add storyInteractionInfo.forward_count. 2023-09-18 22:00:38 +03:00
levlam
118358508a Update default premium feature order. 2023-09-18 20:22:09 +03:00
levlam
6cb1f8fb96 Add td_api::premiumFeatureChatBoost. 2023-09-18 19:57:48 +03:00
levlam
0f7193172b Add premiumLimitTypeStorySuggestedReactionAreaCount. 2023-09-18 19:47:34 +03:00
levlam
583168767d Add td_api::getChatBoosts. 2023-09-16 12:22:11 +03:00