Commit Graph

8811 Commits

Author SHA1 Message Date
levlam
6c88f6dbfe Update list of TLDs. 2023-10-06 00:22:43 +03:00
levlam
9289270cd9 Close databases and binlog on another thread. 2023-10-05 21:50:53 +03:00
levlam
b41a51f2ec Use add_to_top if possible. 2023-10-04 16:18:20 +03:00
levlam
14b10c7682 Fix my recent chosen reaction chat id also for objects received from the server. 2023-10-04 16:02:53 +03:00
levlam
74679944af Remove error-prone server_time_cached. 2023-10-04 12:24:58 +03:00
levlam
2a0d757ec6 Explicitly pass Unix time to can_get_story_viewers. 2023-10-04 11:28:56 +03:00
levlam
51e23dd458 Decrease MIN_DELETED_ASYNCHRONOUSLY_MESSAGES. 2023-10-02 20:38:59 +03:00
levlam
ceaa37fe0d Simplify set_dialog_is_pinned implementation. 2023-10-01 21:49:15 +03:00
levlam
c474942666 Use add_to_top. 2023-10-01 21:17:30 +03:00
levlam
97ec3eacf4 Fix get_percentage_value. 2023-09-28 19:54:36 +03:00
levlam
5c93447ade Increase MessageUnsupported version to reget messages with boost links. 2023-09-28 19:04:50 +03:00
levlam
5d7f34f659 Add StoryManager::has_unexpired_viewers. 2023-09-28 16:31:17 +03:00
levlam
469f87c2bc Allow to remove media_album_id for yet unsent messages. 2023-09-28 00:50:09 +03:00
levlam
a65f14fff6 Improve log messages. 2023-09-27 16:22:16 +03:00
levlam
a6389d3520 Recheck active stories if failed to find some of them. 2023-09-27 16:15:18 +03:00
levlam
7b9abf3eca Explicitly restart timeout. 2023-09-27 15:31:34 +03:00
levlam
93d17802e3 Fix saving of active stories. 2023-09-27 14:30:44 +03:00
levlam
bb8070ed44 Reload chats to send stories once a day. 2023-09-27 13:31:09 +03:00
levlam
a4016cef70 Add source to update_story_list_sent_total_count. 2023-09-27 00:40:36 +03:00
levlam
23683f40f0 Send updateChatActiveStories for stories loaded from database in decreasing order. 2023-09-27 00:35:47 +03:00
levlam
ab673a959b Add some index checks. 2023-09-26 14:03:10 +03:00
levlam
ce5c3f32e7 Support alternative boost links. 2023-09-26 13:08:54 +03:00
levlam
84f2985154 Init boolean message fields closer to their first usage. 2023-09-25 22:52:42 +03:00
levlam
83df57a102 Remove MessageInfo.flags. 2023-09-25 22:48:35 +03:00
levlam
09ced5689b Remove most MESSAGE_FLAG usages. 2023-09-25 22:09:31 +03:00
levlam
9a44005187 Add UpdatesManager::fix_short_message_flags. 2023-09-25 21:56:36 +03:00
levlam
155095dff7 Move get_message_public_forwards to StatisticsManager. 2023-09-25 21:39:02 +03:00
levlam
7dc1aed0d2 Use can_get_message_statistics in send_get_message_public_forwards_query. 2023-09-25 21:23:14 +03:00
levlam
235d884593 Improve can_manage_chat documentation. 2023-09-25 20:27:55 +03:00
levlam
9b4266c0c9 Remove now wrong CHECK. 2023-09-25 17:11:36 +03:00
levlam
1c758bbade Always send updateAuthorizationState, even the state ID is the same. 2023-09-25 16:07:21 +03:00
levlam
0d16085d69 Just ignore views of sponsored messages from history preview or unidentified places. 2023-09-24 03:09:53 +03:00
levlam
2de39ffffe Fix can_have_input_media for stories. 2023-09-23 16:33:34 +03:00
levlam
2589c3fd46 Update version to 1.8.19. 2023-09-22 16:22:03 +03:00
levlam
7eef4ec47a Add InvalidateSignInCodesOnServerLogEvent. 2023-09-22 16:16:14 +03:00
levlam
df3d50b056 Add ResetWebAuthorizationsOnServerLogEvent. 2023-09-22 16:04:00 +03:00
levlam
86185f3b8e Add ResetWebAuthorizationOnServerLogEvent. 2023-09-22 15:58:25 +03:00
levlam
e65059e540 Add SetAuthorizationTtlOnServerLogEvent. 2023-09-22 15:49:51 +03:00
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
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
b44e2ea3fc Add strictly-typed class mtproto::MessageId. 2023-09-21 17:52:33 +03:00