levlam
|
5144656f2b
|
Add MessagesManager::is_dialog_notification_group_id.
|
2023-08-22 02:31:47 +03:00 |
|
levlam
|
174f0ca5f5
|
Add MessagesManager::set_dialog_last_notification_checked.
|
2023-08-21 19:50:24 +03:00 |
|
levlam
|
d2cf780a1f
|
Move class NotificationGroupInfo to a separate header.
|
2023-08-21 18:52:56 +03:00 |
|
levlam
|
ec6c36e578
|
Add getBlockedMessageSenders.block_list.
|
2023-07-28 17:52:44 +03:00 |
|
levlam
|
3794e65b76
|
Add td_api::BlockList.
|
2023-07-28 17:33:47 +03:00 |
|
levlam
|
f0e59da1ff
|
Process blocked_my_stories_from flags.
|
2023-07-28 16:19:05 +03:00 |
|
levlam
|
3fa863e98e
|
Fix misprint.
|
2023-08-06 01:57:08 +03:00 |
|
levlam
|
5558825d61
|
Add class ReactionType.
|
2023-08-04 18:39:07 +03:00 |
|
levlam
|
ff3a8e446e
|
Add MessagesManager::load_last_dialog_message instead of get_history_from_the_end.
|
2023-07-28 14:33:54 +03:00 |
|
levlam
|
f5a066f7ed
|
Support loading of history from the end in get_history_impl.
|
2023-07-28 14:12:22 +03:00 |
|
levlam
|
c071678be1
|
Add source to MessagesManager::get_history_impl.
|
2023-07-28 13:32:07 +03:00 |
|
levlam
|
2dba29669f
|
Delete unused MessagesManager::get_history.
|
2023-07-28 13:22:52 +03:00 |
|
levlam
|
bd0ca2d6fc
|
Combine all getChatHistory queries.
|
2023-07-28 03:36:21 +03:00 |
|
levlam
|
9618d58732
|
Combine get_history_from_the_end queries.
|
2023-07-27 20:40:56 +03:00 |
|
levlam
|
5bc2634d12
|
Use FlatHashMap for random_id_to_message_id.
|
2023-07-26 13:38:10 +03:00 |
|
levlam
|
0edd5b1651
|
Support "CHANNEL_INVALID" errors in response to channels.getDifference.
|
2023-07-25 14:12:58 +03:00 |
|
levlam
|
8893dc808f
|
Ignore getDifference responses with invalid polls.
|
2023-07-24 19:42:09 +03:00 |
|
levlam
|
62677720fc
|
Immediately unload messages in closed chats after updates.channelDifferenceTooLong.
|
2023-07-24 15:42:38 +03:00 |
|
levlam
|
1f6342c88e
|
Retry loading of channel difference later if receive invalid poll in a message.
|
2023-07-23 20:42:30 +03:00 |
|
levlam
|
102222e64f
|
Add source to on_update_channel_max_unavailable_message_id.
|
2023-07-22 22:40:26 +03:00 |
|
levlam
|
999aaaf610
|
Update username cache with usernames loaded from database.
|
2023-07-20 20:09:46 +03:00 |
|
levlam
|
3b28485a3f
|
Always apply awaited sent messages.
|
2023-07-11 17:14:02 +03:00 |
|
levlam
|
0f8de6c91d
|
Fix warnings.
|
2023-07-06 20:55:02 +03:00 |
|
levlam
|
ad193a389c
|
Add FileManager::get_missing_file_parts.
|
2023-07-05 10:55:16 +03:00 |
|
levlam
|
8d7ba4da1b
|
Add source to schedule_get_channel_difference.
|
2023-07-04 15:23:39 +03:00 |
|
levlam
|
26c8c0f4fa
|
Add td_api::reportStory.
|
2023-06-21 23:23:19 +03:00 |
|
levlam
|
f182e105eb
|
Register web page story sender users for UserFromMessage.
|
2023-06-13 17:14:19 +03:00 |
|
levlam
|
0b842dec1e
|
Register media timestamp replies to stories.
|
2023-06-09 14:08:16 +03:00 |
|
levlam
|
fa94abaccb
|
Allow to reply stories.
|
2023-06-08 17:27:24 +03:00 |
|
levlam
|
3a20137c03
|
Use StoryFullId for replied story.
|
2023-06-07 15:10:46 +03:00 |
|
levlam
|
114c92f365
|
Store replied story sender as DialogId.
|
2023-06-06 15:56:09 +03:00 |
|
levlam
|
56314c5c79
|
Add Message.replied_story_sender_user_id/replied_story_id.
|
2023-06-05 20:45:28 +03:00 |
|
levlam
|
030e440757
|
Update layer to 160.
|
2023-05-01 21:07:01 +03:00 |
|
levlam
|
24d012bc73
|
Add td_api::searchRecentlyFoundChat.
|
2023-05-16 21:41:19 +03:00 |
|
levlam
|
ac81a35283
|
Add td_api::getChatFolderChatCount.
|
2023-05-01 14:57:16 +03:00 |
|
levlam
|
29c0004bfd
|
Automatically send screenshot notification messages.
|
2023-04-30 16:00:20 +03:00 |
|
levlam
|
340312e3da
|
Add messageSourceScreenshot and notify about screenshotted codes.
|
2023-04-28 14:44:35 +03:00 |
|
levlam
|
38efb6d673
|
Support MessageSenders as poll voters.
|
2023-04-25 16:41:04 +03:00 |
|
levlam
|
8096cf0439
|
Register replies to messages in different chats.
|
2023-06-09 13:44:15 +03:00 |
|
levlam
|
1886bcf850
|
Make update_message_max_reply_media_timestamp const.
|
2023-06-08 20:14:38 +03:00 |
|
levlam
|
ea217b10c1
|
Add MessagesManager::set_message_reply.
|
2023-06-07 00:57:27 +03:00 |
|
levlam
|
6b342e9b0d
|
Ignore reaction changes while there is a pending request to read unread reactions.
|
2023-06-01 15:31:05 +03:00 |
|
levlam
|
978eb97c72
|
Improve get_draft_message.
|
2023-05-31 17:19:31 +03:00 |
|
levlam
|
716481ca73
|
Don't allow message date change for server messages after sending.
|
2023-05-28 23:07:39 +03:00 |
|
levlam
|
8cc992e15e
|
Add MessagesManager::on_get_messages_from_database.
|
2023-05-28 22:44:27 +03:00 |
|
levlam
|
54e967861c
|
Fail sending of messages from yet_unsent_media_queues_ on restart.
|
2023-05-23 17:01:51 +03:00 |
|
levlam
|
d01f1ab20a
|
Limit the number of concurrent getChannelDifference requests.
|
2023-05-23 14:57:04 +03:00 |
|
levlam
|
1aa1185185
|
Fix misprint.
|
2023-05-22 19:21:42 +03:00 |
|
levlam
|
7bc891aa0b
|
Repeat channels.getDifference if expected PTS/message_id wasn't reached.
|
2023-05-22 19:19:36 +03:00 |
|
levlam
|
398fbeadf1
|
Add MessagesManager::schedule_get_channel_difference function.
|
2023-05-22 18:23:40 +03:00 |
|
levlam
|
348a209ab7
|
Fix includes.
|
2023-05-18 14:33:00 +03:00 |
|
levlam
|
18646d6d49
|
Load expired messages from database in small batches.
|
2023-05-15 13:28:23 +03:00 |
|
levlam
|
a14a07c33d
|
Remove lower bound check for ttl_expires_at.
|
2023-05-15 13:04:03 +03:00 |
|
levlam
|
f61b5900dd
|
Pass Dialog to read_history_outbox.
|
2023-05-13 03:51:27 +03:00 |
|
levlam
|
57d3928a50
|
Pass Dialog to read_history_inbox.
|
2023-05-13 03:46:43 +03:00 |
|
levlam
|
7dffab5a92
|
Add MessagesManager::clear_dialog_message_list.
|
2023-05-13 03:37:35 +03:00 |
|
levlam
|
484bd135d1
|
Add MessagesManager::add_message_to_dialog_message_list.
|
2023-05-12 16:29:21 +03:00 |
|
levlam
|
f265a154b9
|
Refactor reply markup removal.
|
2023-05-12 14:25:00 +03:00 |
|
levlam
|
432ee4c2c4
|
Remove now redundant parameters have_previous/have_next from add_message_to_dialog.
|
2023-05-11 20:27:00 +03:00 |
|
levlam
|
042c75df63
|
Mark on_get_message parameters as const.
|
2023-05-11 17:52:53 +03:00 |
|
levlam
|
bbde50ba03
|
Use "message" for unique_ptr<Message> variables.
|
2023-05-11 13:26:41 +03:00 |
|
levlam
|
666af51345
|
Add MessagesManager::fix_new_message.
|
2023-05-11 13:12:04 +03:00 |
|
levlam
|
ed127c1b8d
|
Add MessagesManager::add_dialog_for_new_message.
|
2023-05-11 12:12:43 +03:00 |
|
levlam
|
372509e838
|
Always call on_message_deleted_from_database from delete_message_from_database.
|
2023-05-10 23:26:50 +03:00 |
|
levlam
|
c612ef6764
|
Explicitly create Dialog before adding a message to it.
|
2023-05-10 20:56:33 +03:00 |
|
levlam
|
11210427a4
|
Explicitly pass from_database to add_message_to_dialog.
|
2023-05-10 20:41:02 +03:00 |
|
levlam
|
ce76e164a9
|
Update basic group position when it is joined or left.
|
2023-05-08 17:29:50 +03:00 |
|
levlam
|
22a82c117d
|
Find unloadable messages using LRU.
|
2023-05-06 02:37:53 +03:00 |
|
levlam
|
c0911577f7
|
Use empty name for unused move constructor/assignment parameter.
|
2023-05-05 13:51:19 +03:00 |
|
levlam
|
53cd6c1a79
|
Improve includes.
|
2023-05-03 16:38:49 +03:00 |
|
levlam
|
f2d11e12f6
|
Use small identifiers for yet unsent and local messages for bots.
|
2023-05-03 14:34:06 +03:00 |
|
levlam
|
6e4ebc56d1
|
Move attach_message_to_previous/attach_message_to_next to OrderedMessages.
|
2023-05-02 22:39:50 +03:00 |
|
levlam
|
e9ee762f60
|
Implement find_unloadable_messages with traverse_messages.
|
2023-05-02 21:54:11 +03:00 |
|
levlam
|
233984f1e3
|
Move iterators to class OrderedMessages.
|
2023-05-02 19:07:02 +03:00 |
|
levlam
|
0a3ecfd03c
|
Add OrderedMessages::find_message_by_date.
|
2023-05-02 18:47:20 +03:00 |
|
levlam
|
f92d108319
|
Add OrderedMessages::find_messages_by_date.
|
2023-05-02 18:40:22 +03:00 |
|
levlam
|
961c9802af
|
Add OrderedMessages::find_newer_messages.
|
2023-05-02 18:17:06 +03:00 |
|
levlam
|
2e0cba4eea
|
Add OrderedMessages::find_older_messages.
|
2023-05-02 18:11:37 +03:00 |
|
levlam
|
2ff3233115
|
Add class OrderedMessages.
|
2023-05-02 18:04:54 +03:00 |
|
levlam
|
5ef84c5c65
|
Move class OrderedMessage out of MessagesManager.
|
2023-05-02 17:38:55 +03:00 |
|
levlam
|
df626f266e
|
Inline create_ordered_message.
|
2023-05-02 17:30:12 +03:00 |
|
levlam
|
316ba04a47
|
Inline treap_find_message.
|
2023-05-02 17:25:15 +03:00 |
|
levlam
|
453a53c953
|
Remove return value from treap_delete_message.
|
2023-05-02 17:18:05 +03:00 |
|
levlam
|
16873cad78
|
Ignore message order in find_messages.
|
2023-05-02 16:54:52 +03:00 |
|
levlam
|
0af40e53ac
|
Inline delete_all_dialog_messages_from_database.
|
2023-05-02 16:46:37 +03:00 |
|
levlam
|
fe20d43694
|
Remove MessagesManager::set_message_id.
|
2023-05-02 16:18:48 +03:00 |
|
levlam
|
7832c5d78c
|
Store message order separately from messages themselves.
|
2023-05-02 16:07:01 +03:00 |
|
levlam
|
36fede32c6
|
Reuse message iterator in MessagesManager::do_delete_message.
|
2023-05-02 14:59:20 +03:00 |
|
levlam
|
aace2a6465
|
Explicitly pass have_previous and have_next to add_message_to_dialog.
|
2023-05-02 13:22:13 +03:00 |
|
levlam
|
e2b0c750c1
|
Remove MessagesIteratorBase template parameter.
|
2023-05-02 00:57:37 +03:00 |
|
levlam
|
aa6e85404a
|
Store scheduled messages in a HashTable.
|
2023-05-02 00:52:23 +03:00 |
|
levlam
|
713b1f086e
|
Add MessagesManager::have_dialog_scheduled_messages_in_memory helper.
|
2023-05-01 23:15:54 +03:00 |
|
levlam
|
8757f540ac
|
Force postponed updateChatReadInbox before returning the chat.
|
2023-05-01 16:41:04 +03:00 |
|
levlam
|
730dac8dfe
|
Add MessagesManager::on_message_deleted_from_database.
|
2023-05-01 15:48:35 +03:00 |
|
levlam
|
3c2e08633b
|
Delay updateChatReadInbox updates in opened chats.
|
2023-05-01 15:33:51 +03:00 |
|
levlam
|
5aff4aa27b
|
Hide global draft for forum chats.
|
2023-04-29 21:58:39 +03:00 |
|
levlam
|
868d894779
|
Don't autostart blocked bots.
|
2023-04-24 16:03:08 +03:00 |
|
levlam
|
cfe57dbd60
|
Add td_api::readChatList.
|
2023-04-14 15:17:25 +03:00 |
|
levlam
|
d302dbd241
|
Add MessagesManager::read_dialog_inbox.
|
2023-04-14 14:55:59 +03:00 |
|
levlam
|
598ba5422f
|
Add MessagesManager::get_chat_ids_object.
|
2023-04-14 13:38:25 +03:00 |
|