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 |
|
levlam
|
e1eff4a06a
|
Add MessagesManager::get_chat_id_object for checking chat_id before returning it.
|
2023-04-13 22:41:22 +03:00 |
|
levlam
|
00ed2f85b8
|
Support dark_theme_brightness for chat backgrounds.
|
2023-04-10 18:45:26 +03:00 |
|
levlam
|
13d0536db1
|
Add chat.background.
|
2023-04-10 17:23:21 +03:00 |
|
levlam
|
b4676dc57a
|
Various fixes.
|
2023-04-07 16:02:31 +03:00 |
|
levlam
|
aebf904513
|
Various chat folder fixes.
|
2023-04-06 23:15:22 +03:00 |
|
levlam
|
d47bd927fe
|
Add td_api::checkChatFilterInviteLink.
|
2023-03-31 15:50:49 +03:00 |
|
levlam
|
f12fedd4d6
|
Add class DialogFilterDialogInfo.
|
2023-03-27 18:34:25 +03:00 |
|
levlam
|
f4daa4b61a
|
Move dialog filter list to DialogFilterManager.
|
2023-03-27 17:44:13 +03:00 |
|
levlam
|
9259728d16
|
Use do_edit_dialog_filter.
|
2023-03-27 14:16:02 +03:00 |
|
levlam
|
2ef970307b
|
Move get_chat_filter_object and load_dialog_filter to DialogFilterManager.
|
2023-03-27 14:09:55 +03:00 |
|
levlam
|
0ff733edad
|
Move recommended filters to DialogFilterManager.
|
2023-03-27 11:50:40 +03:00 |
|
levlam
|
1ce9f9d27c
|
Minor improvements.
|
2023-03-24 14:14:37 +03:00 |
|
levlam
|
b5df19ae34
|
Improve DialogFilter variable names.
|
2023-03-22 13:36:28 +03:00 |
|
levlam
|
ecc57d7b93
|
Move set_dialog_filters_order to DialogFilter.
|
2023-03-22 01:24:14 +03:00 |
|
levlam
|
06940b2817
|
Add DialogFilter::get_chat_filter_object.
|
2023-03-22 01:00:54 +03:00 |
|
levlam
|
c5c06a8523
|
Move get_dialog_filter_ids to DialogFilter.
|
2023-03-21 22:35:00 +03:00 |
|
levlam
|
bfc0361b02
|
Move get_dialog_filter_folder_ids to DialogFilter.
|
2023-03-21 17:02:09 +03:00 |
|
levlam
|
d8a7114a2b
|
Move create_dialog_filter to DialogFilter.
|
2023-03-21 16:55:07 +03:00 |
|
levlam
|
9acf785389
|
Move sort_input_dialog_ids to class DialogFilter.
|
2023-03-21 16:26:06 +03:00 |
|
levlam
|
c44869f873
|
Support input*FromMessage.
|
2023-03-17 18:51:04 +03:00 |
|
levlam
|
f282e2b6ac
|
Pass NotificationInfo to get_next_notification_id.
|
2023-03-16 23:11:08 +03:00 |
|
levlam
|
ad08cc1775
|
PAss NotificationInfo to *notification_id_to_message_id_correspondence.
|
2023-03-16 23:07:12 +03:00 |
|
levlam
|
7406361444
|
Improve NotificationInfo field names.
|
2023-03-16 22:57:14 +03:00 |
|
levlam
|
ea2567f5d0
|
Move max_notification_message_id to NotificationInfo.
|
2023-03-16 22:54:03 +03:00 |
|
levlam
|
b01ee666e9
|
Add struct NotificationInfo.
|
2023-03-16 22:38:29 +03:00 |
|
levlam
|
96981eed53
|
Add get_notification_group_info helper.
|
2023-03-16 20:39:00 +03:00 |
|
levlam
|
b19a1f5ba4
|
Move scheduled message info into a class.
|
2023-03-16 20:10:54 +03:00 |
|
levlam
|
c9a1d5bee6
|
Move read_history_log_event_ids out of Dialog.
|
2023-03-16 18:21:51 +03:00 |
|
levlam
|
a9e70dcafc
|
Move updated_read_history_message_ids out of Dialog.
|
2023-03-16 18:05:36 +03:00 |
|
levlam
|
3a1aaa1148
|
Move suffix load out of Dialog.
|
2023-03-16 17:54:33 +03:00 |
|
levlam
|
97fa882a8f
|
Move pending_viewed_live_locations out of Dialog.
|
2023-03-16 16:15:54 +03:00 |
|
levlam
|
365c639c22
|
Move pending message views out of Dialog.
|
2023-03-15 23:45:30 +03:00 |
|
levlam
|
7d99fc50ed
|
Move yet_unsent_thread_message_ids out of Dialog.
|
2023-03-15 16:59:23 +03:00 |
|
levlam
|
78d5146188
|
Move yet_unsent_message_id_to_persistent_message_id out of each Dialog.
|
2023-03-15 16:50:56 +03:00 |
|
levlam
|
5ee1c751f9
|
Remove debug_message_op.
|
2023-03-15 16:26:22 +03:00 |
|
levlam
|
8847638d28
|
Autostart bots with non-empty message history.
|
2023-03-11 23:18:24 +03:00 |
|
levlam
|
e7242b1188
|
Fix includes.
|
2023-03-06 20:36:56 +03:00 |
|
levlam
|
1f32ae3dfd
|
Add sending_id to messageSendOptions.
|
2023-02-23 17:05:43 +03:00 |
|
levlam
|
439dd7c2ca
|
Add td_api::messageViewers.
|
2023-02-23 15:15:10 +03:00 |
|
levlam
|
91a13ea705
|
Allow multiple open/close for the same chat.
|
2023-02-07 21:45:03 +03:00 |
|
levlam
|
fbea859a11
|
Add MessageSource to viewMessages.
|
2023-02-07 21:08:54 +03:00 |
|
levlam
|
c4b7100ad8
|
Repair unread mention count in channels when a mention is read.
|
2023-02-22 13:09:24 +03:00 |
|
levlam
|
b067159d78
|
Improve chat type check.
|
2023-02-01 02:10:03 +03:00 |
|
levlam
|
a347eb4da3
|
Add ability to check shared with bot user/chat.
|
2023-01-31 16:52:05 +03:00 |
|
levlam
|
0469ac0147
|
Add inputChatPhotoSticker.
|
2023-01-30 00:35:14 +03:00 |
|
levlam
|
57548741c4
|
Send updateNewMessage after file upload has started.
|
2023-01-25 13:03:57 +03:00 |
|
levlam
|
0feb0f15ce
|
Improve names of methods and message contents related to sharing user/chat with a bot.
|
2023-01-23 18:19:35 +03:00 |
|
levlam
|
136a50d0ae
|
Add translateMessageText.
|
2023-01-23 15:46:26 +03:00 |
|
levlam
|
a7e4c54f63
|
Support stickers in setChatPhoto.
|
2023-01-23 13:53:23 +03:00 |
|
levlam
|
8137572794
|
Send updateChatIsTranslatable when premium is switched on or off.
|
2023-01-20 12:57:06 +03:00 |
|
levlam
|
337aef5c02
|
Support chat.is_translatable, toggleChatIsTranslatable and updateChatIsTranslatable.
|
2023-01-20 12:38:25 +03:00 |
|
levlam
|
8c43a7c0bb
|
Add TranslationManager.
|
2023-01-18 14:47:31 +03:00 |
|
levlam
|
91ab399946
|
Improve repair of unread reaction count.
|
2023-01-16 20:30:52 +03:00 |
|
levlam
|
97cc57a25c
|
Add td_api::sendChosenChat.
|
2023-01-13 17:16:16 +03:00 |
|
levlam
|
0b54e28467
|
Add td_api::sendChosenUser.
|
2023-01-13 17:03:35 +03:00 |
|
levlam
|
f0d0ac6b78
|
Allow to create forum supergroups.
|
2023-01-09 21:43:51 +03:00 |
|
levlam
|
ad8f0c4146
|
Improve some spelling.
|
2023-01-16 12:59:43 +03:00 |
|
levlam
|
cf1984844b
|
Update copyright year.
|
2023-01-01 00:28:08 +03:00 |
|
levlam
|
90b6403e86
|
Improve message_auto_delete_time field and class names.
|
2022-12-28 21:46:16 +03:00 |
|
levlam
|
6aa4558850
|
Improve return value of searchCallMessages.
|
2022-12-28 19:17:25 +03:00 |
|
levlam
|
9663dc98b5
|
Improve return type of searchChatMessages.
|
2022-12-28 18:42:11 +03:00 |
|
levlam
|
1ff40ce132
|
Rename message TTL to auto-delete timer when appropriate.
|
2022-12-28 17:02:41 +03:00 |
|
levlam
|
5c89fe749a
|
Separately create admin log message ogjects.
|
2022-12-26 20:30:44 +03:00 |
|
levlam
|
f694687e47
|
Improve next_offset in getMessagePublicForwards.
|
2022-12-25 22:59:57 +03:00 |
|
levlam
|
fc2ab0a7ab
|
Use next_rate in searchMessages.
|
2022-12-25 22:43:37 +03:00 |
|
levlam
|
3080f64273
|
Simplify searchMessages usage.
|
2022-12-25 22:28:05 +03:00 |
|
levlam
|
d810a73a4f
|
Hide can_get_message_thread for non-root messages.
|
2022-12-21 19:10:36 +03:00 |
|
levlam
|
86d5f12e6e
|
Don't try to load the same chat many times from the database.
|
2022-12-23 14:28:03 +03:00 |
|
levlam
|
f1eedfaa47
|
Simplify some usages of optional TL fields.
|
2022-12-18 22:15:57 +03:00 |
|
levlam
|
f97c103e2b
|
Update last read inbox/outbox message identifiers in topics.
|
2022-12-14 14:25:04 +03:00 |
|
levlam
|
0e33195953
|
Move static get_message_id/get_message_dialog_id to corresponding classes.
|
2022-12-12 21:43:49 +03:00 |
|
levlam
|
b634948c15
|
Move static MessageId helpers to MessageId class.
|
2022-12-10 22:57:41 +03:00 |
|
levlam
|
6cbe1825ef
|
Delete left dialogs from filters.
|
2022-12-08 13:14:50 +03:00 |
|
levlam
|
a32bb3e7ef
|
Move get_messages_info to MessagesInfo.cpp.
|
2022-12-07 19:38:42 +03:00 |
|
levlam
|
75453b542f
|
Add separate header for MessagesInfo.
|
2022-12-07 19:28:27 +03:00 |
|
levlam
|
1db1532591
|
Add is_forum_channel.
|
2022-12-07 17:21:36 +03:00 |
|
levlam
|
70cfbab277
|
Extract only relevant random_id from updates.
|
2022-12-02 12:36:31 +03:00 |
|
levlam
|
f8a5f42886
|
Improve return value of UpdatesManager::get_new_messages.
|
2022-12-02 12:11:07 +03:00 |
|
levlam
|
2844156dfc
|
Allow to specify message_ttl during creation of basic group and channel chats.
|
2022-11-29 15:44:12 +03:00 |
|
levlam
|
8b11ef9aa3
|
Apply message_ttl from telegram_api::dialog.
|
2022-11-29 13:08:06 +03:00 |
|
levlam
|
0f357cdb95
|
Apply information about forum topics from messages.channelMessages.
|
2022-11-15 16:00:19 +03:00 |
|
levlam
|
af05db3f15
|
Add td::Hash and use it everywhere instead of unusable std::hash.
|
2022-11-23 19:37:32 +03:00 |
|
levlam
|
0455f8cfbb
|
Skip too old channel difference for bots.
|
2022-11-23 13:21:46 +03:00 |
|
levlam
|
68627a0c3f
|
Add source to cancel_upload_file.
|
2022-11-21 14:33:19 +03:00 |
|
levlam
|
830806937e
|
Improve source type in on_get_channel_error/on_get_dialog_error.
|
2022-11-17 14:18:11 +03:00 |
|
levlam
|
b2b59b02be
|
Add draft of history generation for better gap handling.
|
2022-11-14 20:12:23 +03:00 |
|
levlam
|
f670d646c9
|
Unload at most 5000 messages at a time.
|
2022-11-11 16:06:05 +03:00 |
|
levlam
|
8e32de133a
|
Rename MessagesDb to MessageDb.
|
2022-11-09 20:35:22 +03:00 |
|
levlam
|
ef5107fcc4
|
Remove unused from_cache parameter in send_update_delete_messages.
|
2022-11-08 13:43:46 +03:00 |
|
levlam
|
36686c29a6
|
Remove unused Status responses in MessagesDb.
|
2022-11-07 22:19:44 +03:00 |
|
levlam
|
7df7dfcd62
|
Output main chat list position along with all folder identifiers.
|
2022-11-04 17:40:44 +03:00 |
|
levlam
|
ce09421718
|
Update main chat list position after adding or deleting chat lists.
|
2022-11-04 17:26:41 +03:00 |
|
levlam
|
ff0c205fe9
|
Generate new links for topic messages.
|
2022-11-04 15:56:16 +03:00 |
|
levlam
|
8f9275858f
|
Fix warning.
|
2022-11-04 13:20:22 +03:00 |
|
levlam
|
f8783063f3
|
Improve parameter name.
|
2022-11-03 19:37:07 +03:00 |
|
levlam
|
e8d1c7deae
|
Remove from_updates parameter from delete_dialog_messages.
|
2022-11-03 19:26:22 +03:00 |
|
levlam
|
df45195cc6
|
Split delete_dialog_messages in two functions.
|
2022-11-03 19:14:35 +03:00 |
|
levlam
|
17bc097d12
|
Destroy deleted messages on another thread.
|
2022-11-03 18:10:51 +03:00 |
|
levlam
|
69f03d8376
|
Improve message reply header handling.
|
2022-11-02 06:28:35 +03:00 |
|
levlam
|
342f446631
|
Support unpinning of all messages in a message thread.
|
2022-10-31 19:44:01 +03:00 |
|
levlam
|
43deaf4502
|
Add td_api::deleteForumTopic.
|
2022-10-30 00:35:37 +03:00 |
|
levlam
|
6acdfbdf9e
|
Keep information about dropped MessageReplyInfo.
|
2022-10-29 20:18:49 +03:00 |
|
levlam
|
ff43a82359
|
Improve topic message detection.
|
2022-10-29 02:05:31 +03:00 |
|
levlam
|
4c7e9ad8a6
|
Add Message.is_topic_message.
|
2022-10-28 12:43:51 +03:00 |
|
levlam
|
8f0d216601
|
Don't update channel pts if failed to process updateEditChannelMessage.
|
2022-10-26 14:52:51 +03:00 |
|
levlam
|
75739dd0ea
|
Allow to pass message thread identifier to readAllChatReactions.
|
2022-10-24 17:04:05 +03:00 |
|
levlam
|
df561b7822
|
Allow to pass message thread identifier to readAllChatMentions.
|
2022-10-24 16:57:26 +03:00 |
|
levlam
|
62bcac0198
|
Support forwarding of messages to message threads.
|
2022-10-21 18:02:39 +03:00 |
|
levlam
|
c941f488a0
|
Proxy speech recognition methods through MessagesManager.
|
2022-10-19 17:56:18 +03:00 |
|
levlam
|
177b5f1e89
|
Pass top_thread_message_id to server methods for message sending.
|
2022-10-18 14:23:46 +03:00 |
|
levlam
|
4067ba66d3
|
Improve backward compatibility.
|
2022-10-17 15:44:30 +03:00 |
|
levlam
|
897032e0fd
|
Add support for multiple usernames.
|
2022-10-12 21:04:18 +03:00 |
|
levlam
|
88ffdb62e7
|
Split NotificationSettings.h.
|
2022-10-25 01:22:04 +03:00 |
|
levlam
|
9b16702674
|
Add ContactsManager::get_dialog_search_text.
|
2022-10-11 20:35:35 +03:00 |
|
levlam
|
62403aac3c
|
Simplify username caching.
|
2022-10-11 15:13:06 +03:00 |
|
levlam
|
b1f2e553cb
|
Explicitly fail some promises stored in MessagesManager.
|
2022-10-07 01:28:18 +03:00 |
|
levlam
|
8d1ee490ad
|
Update response of getChatAvailableMessageSenders.
|
2022-10-04 17:53:56 +03:00 |
|
levlam
|
af5ddbfa15
|
Use WaitFreeHashMap for resolved_usernames.
|
2022-10-04 14:53:46 +03:00 |
|
levlam
|
1f7258f697
|
Add getChatMessagePosition.
|
2022-09-30 20:04:21 +03:00 |
|
levlam
|
92f9f8bdd0
|
Support extended media polling.
|
2022-09-24 22:17:17 +03:00 |
|
levlam
|
7f353cd064
|
Support telegram_api::updateMessageExtendedMedia.
|
2022-09-23 12:07:07 +03:00 |
|
levlam
|
23fe3994bf
|
Don't unload messages from the last media album.
|
2022-09-21 17:44:25 +03:00 |
|
levlam
|
bb6fc999f8
|
Add on_message_notification_changed function.
|
2022-09-19 16:19:59 +03:00 |
|
levlam
|
618bface99
|
Save voice message to database when it is recognized.
|
2022-09-19 11:15:13 +03:00 |
|
levlam
|
8d0cb5b82d
|
Return is_content_changed from update_message_content.
|
2022-09-19 01:12:20 +03:00 |
|
levlam
|
51403c883c
|
Avoid usage of send_update_message_content with dialog_id.
|
2022-09-19 00:29:31 +03:00 |
|
levlam
|
91c54cc748
|
Move send_update_message_content out of update_message_content.
|
2022-09-19 00:24:15 +03:00 |
|
levlam
|
30b961aebf
|
Sort reactions returned in getMessageAvailableReactions.
|
2022-09-13 19:19:35 +03:00 |
|
levlam
|
55ec944266
|
Pass all chosen reactions to send_message_reaction.
|
2022-09-09 16:21:00 +03:00 |
|
levlam
|
6b2f6b4204
|
Split setMessageReaction to addMessageReaction and removeMessageReaction.
|
2022-09-09 15:56:45 +03:00 |
|
levlam
|
4ae5b9a533
|
Consistently use is_active_reaction.
|
2022-09-08 21:04:23 +03:00 |
|
levlam
|
148f1bf794
|
Update get_message_available_reactions.
|
2022-09-08 20:04:32 +03:00 |
|
levlam
|
c6d5bbb151
|
Remove class AvailableReaction.
|
2022-09-08 17:45:19 +03:00 |
|
levlam
|
9bd566702e
|
Add source to MessagesManager::fix_new_dialog.
|
2022-09-07 20:02:44 +03:00 |
|
levlam
|
4fdac24cc5
|
Add setMessageReaction.update_recent_reactions.
|
2022-09-05 22:04:50 +03:00 |
|
levlam
|
16ba2ebfb8
|
Add messageSendOptions.update_order_of_installed_sticker_sets.
|
2022-09-04 01:14:25 +03:00 |
|
levlam
|
c662b81a3d
|
Return ChatReactions from MessagesManager::get_message_active_reactions.
|
2022-09-02 18:59:15 +03:00 |
|
levlam
|
c65af3ac6e
|
Improve field name.
|
2022-08-31 11:11:37 +03:00 |
|
levlam
|
0b8e143056
|
Add class ChatAvailableReactions.
|
2022-08-30 11:45:27 +03:00 |
|
levlam
|
408a6a9d74
|
Remove failed to load chats from chat filters.
|
2022-08-30 01:18:20 +03:00 |
|
levlam
|
d110b0f5bc
|
Add MessagesManager::load_dialog_filter_dialogs function.
|
2022-08-29 22:43:36 +03:00 |
|
levlam
|
9f564e48d4
|
Improve MessageForwardInfo logging.
|
2022-08-29 07:10:50 +03:00 |
|
levlam
|
57d7a2b10c
|
Remove unknown pinned secret chats if failed to load them.
|
2022-08-27 23:12:50 +03:00 |
|
levlam
|
0ed8f95cec
|
Make distribution of dialog unloads uniform instead of normal.
|
2022-08-27 11:19:00 +03:00 |
|
levlam
|
b359a09464
|
Add message.can_report_reactions.
|
2022-08-23 16:44:20 +03:00 |
|
levlam
|
bb2034ae36
|
Update layer to 145.
|
2022-08-08 23:00:06 +03:00 |
|
levlam
|
8c5833b009
|
Delete yet unsent message if receive messageEmpty for the sent message.
|
2022-08-21 10:08:09 +03:00 |
|
levlam
|
acbc2cebf4
|
Process request result in MessagesManager actor context.
|
2022-08-21 07:24:53 +03:00 |
|
levlam
|
092499a7c6
|
Use WaitFreeHashSet where appropriate.
|
2022-08-21 00:20:57 +03:00 |
|
levlam
|
f99327ca50
|
Add more CHECK logging.
|
2022-08-19 00:00:32 +03:00 |
|
levlam
|
04b98aa385
|
Use OptionManager directly if possible.
|
2022-08-18 17:00:18 +03:00 |
|
levlam
|
17a18e8def
|
Always use send_closure_later to keep relative message order.
|
2022-08-10 16:25:17 +03:00 |
|
levlam
|
8e5d85eb11
|
Add error logging.
|
2022-08-08 19:52:29 +03:00 |
|
levlam
|
d04527d10e
|
Avoid expected error logging.
|
2022-08-08 13:19:11 +03:00 |
|
levlam
|
515bd488fb
|
Use WaitFreeHashMap for dialogs.
|
2022-08-04 17:38:33 +03:00 |
|
levlam
|
699b421824
|
Use full variable names for unique_ptr<Dialog>.
|
2022-08-04 16:30:14 +03:00 |
|
levlam
|
898c5c5cf3
|
Improve error message.
|
2022-08-02 19:35:35 +03:00 |
|
levlam
|
3f1e0a9317
|
Add explicit limit on the number of saved auth notifications.
|
2022-08-01 01:39:09 +03:00 |
|
levlam
|
ddb572b830
|
Add more debug for have_full_history.
|
2022-07-15 17:03:40 +03:00 |
|
levlam
|
0f87447ffc
|
Asynchronously destroy some big data storages.
|
2022-07-20 13:40:14 +03:00 |
|
levlam
|
8537b3d495
|
Move MultiTimeout to MultiTimeout.h.
|
2022-07-02 23:32:18 +03:00 |
|
levlam
|
32bac7bd24
|
Move Promise to tdutils.
|
2022-06-27 13:30:18 +03:00 |
|
levlam
|
638b4346ca
|
Remove separate MessagesManager::on_update_scheduled_message_id.
|
2022-06-23 17:05:43 +03:00 |
|
levlam
|
80df1e2968
|
Add notificationTypeNewMessage.show_preview.
|
2022-06-16 18:54:50 +03:00 |
|
levlam
|
83fdbd7859
|
Move some AvailableReaction methods to AvailableReaction.h.
|
2022-06-09 01:48:39 +03:00 |
|
levlam
|
cb98c0a10a
|
Add class AvailableReaction.
|
2022-06-09 01:07:53 +03:00 |
|
levlam
|
2570044eba
|
Return, whether available reaction needs premium.
|
2022-06-08 17:34:13 +03:00 |
|
levlam
|
e336819ac8
|
Add and use "chat_filter_count_max" option.
|
2022-05-23 18:26:54 +03:00 |
|
levlam
|
2f186a9eeb
|
Allow to change position of main chat list for premium users.
|
2022-05-19 21:19:06 +03:00 |
|
levlam
|
9f8de1d146
|
Add main_chat_list_position to updateChatFilters.
|
2022-05-19 16:57:11 +03:00 |
|
levlam
|
9092c58af7
|
Update replied message identifier in delete_sent_message_on_server.
|
2022-05-18 19:10:48 +03:00 |
|
levlam
|
2345933422
|
Fix chat to send messages as from a web app.
|
2022-04-26 17:13:31 +03:00 |
|
levlam
|
cfc20397a0
|
Update layer to 143.
|
2022-04-19 17:43:24 +03:00 |
|
levlam
|
72f3288bec
|
Add source to get_history_from_the_end_impl.
|
2022-05-31 16:33:37 +03:00 |
|
levlam
|
bcea804864
|
Keep chat position if failed to add last message to it.
|
2022-05-31 15:39:41 +03:00 |
|
levlam
|
16959e33e4
|
Use WaitFreeHashMap for message_id_to_dialog_id_.
|
2022-05-19 19:34:48 +03:00 |
|
levlam
|
1616513c4c
|
Add and use MessagesManager::is_deleted_message.
|
2022-05-18 12:16:32 +03:00 |
|
levlam
|
0bf2aaf4f2
|
Resolve identifiers of being added secret messages by their random_id.
|
2022-05-17 16:19:39 +03:00 |
|
levlam
|
f53f750b39
|
Change replied message ID from yet unsent to persistent after the message is sent.
|
2022-05-17 15:06:40 +03:00 |
|
levlam
|
bf37753056
|
Keep reply_to_message_id for forwards to secret chats.
|
2022-05-16 21:10:18 +03:00 |
|
levlam
|
26ceefb2d4
|
Keep reply_to_message_id for yet unsent messages between restarts.
|
2022-05-16 19:47:06 +03:00 |
|
levlam
|
190117c839
|
Add local reply_to_message_id to forwarded by the server messages.
|
2022-05-16 18:11:49 +03:00 |
|
levlam
|
5a1a64764b
|
Add check that there are no two new chats added simultaneously.
|
2022-05-15 10:53:06 +03:00 |
|
levlam
|
3d796860d2
|
Use server-side forward as copy.
|
2022-05-08 23:54:04 +03:00 |
|
levlam
|
0a91c2b097
|
Remove unused argument.
|
2022-05-05 23:07:42 +03:00 |
|
levlam
|
ddbfc45925
|
Add MessagesManager::can_delete_dialog.
|
2022-04-29 14:33:35 +03:00 |
|
levlam
|
cdd82c67c9
|
Unify update variable names.
|
2022-04-28 18:39:05 +03:00 |
|
levlam
|
576c96a83d
|
Reload number of unread reactions after receive new edited message.
|
2022-04-28 18:31:25 +03:00 |
|
levlam
|
ad65446480
|
Reget unread reaction count when receive update about unread reaction on unknown message.
|
2022-04-28 17:43:29 +03:00 |
|
levlam
|
17275fe422
|
Output the number of objects to be freed on closing.
|
2022-04-25 20:52:44 +03:00 |
|
levlam
|
13bd8044cf
|
Add source to send_update_chat_unread_reaction_count.
|
2022-04-23 01:14:51 +03:00 |
|
levlam
|
a506382e4b
|
Use '= {}' instead of '= Auto()'.
|
2022-04-18 18:21:41 +03:00 |
|
levlam
|
3215bb0242
|
Replace is_silent with sound_id in notifications.
|
2022-04-15 18:36:24 +03:00 |
|
levlam
|
2696a4abbb
|
Restore failed to delete messages.
|
2022-04-12 17:34:08 +03:00 |
|
levlam
|
7a2b3abe18
|
Support new NotificationSound.
|
2022-04-11 20:01:44 +03:00 |
|
levlam
|
bb8c4ca42c
|
Fix updating of Dialog.available_reactions_generation.
|
2022-04-11 16:01:30 +03:00 |
|
levlam
|
80d57a493f
|
Move get_input_notify_peer to NotificationSettingsManager.
|
2022-04-11 13:06:16 +03:00 |
|
levlam
|
9fd72e86d0
|
Move scope notification settings tp NotificationSettingsManager.
|
2022-04-11 12:45:52 +03:00 |
|
levlam
|
88b9f35b91
|
Add PhotoSize.h.
|
2022-04-10 01:15:49 +03:00 |
|
levlam
|
cb5fe8c7cd
|
Move some related to notification settings methods to NotificationSettingsManager.
|
2022-04-08 17:17:56 +03:00 |
|
levlam
|
c5d58a8158
|
Add source to MessagesManager::repair_server_unread_count.
|
2022-04-04 19:29:03 +03:00 |
|
levlam
|
df24a2ec90
|
Add td_api::openWebView.
|
2022-03-31 15:05:08 +03:00 |
|
levlam
|
358f9bb1ad
|
Pass dialog_id to register_message_reply.
|
2022-03-23 18:27:17 +03:00 |
|